Users Also Read
Read MCQ's/Objective questions
MCQ's Search Engine
Important Question
ASP.NET
Basic Computer Knowledge
Basic of Linux/Unix
C# Programming
C++ Programming
Computer Graphics
Computer Hardware
Computer Networking
Computer Security - Cyber crime & Laws
Data Structures & Algorithms
Database Management System
Digital Computer Electronics
HTML
Important File Extensions
Imp. Shortcut Keys used in Computer
Internet, Web & Email
Java - Concepts and Its Programming
Language Processors
Management Information System (MIS)
MS Access
MS Excel
MS Word
Operating System
Oracle, SQL & PL/SQL
PHP Basic
Power Point
Programming Languages
Software Engineering
System Analysis and Design (SAD)
System software & compiler design
Tally
VB.NET
Visual Basic
Home⇒ Computer Engineering⇒ C language
1-Dont try to cram or spend more time here just read it fast and cover syllabus then practice MCQ's cheptor of same topic to check your progress. . |
2-Wrong options are also given but dont concentrate there, Right answer is in bold format. |
Q21 ⇒ goto is a keyword in the C language [other wrong options] [Discuss in forum] a function in die C language a label in the C language a string in the C language None oh the above. |
Q22 ⇒ Comment on the output of this C code? #include void main() { int k = 8; int m = 7; int z = k < m ? k = m : m++; printf("%d", z); } 7 [other wrong options] [Discuss in forum] 5 6 8 |
Q23 ⇒ The statement printf("%3.6f", j); prints the value of j correct to gives an error message [other wrong options] [Discuss in forum] four places six places two places None of the above. |
Q24 ⇒ What is the output of this C code? #include void main() { int b = 5 & 4 & 6; printf("%d", b); } 4 [other wrong options] [Discuss in forum] 1 2 3 |
Q25 ⇒ A function is prototype a non-executable statement which gives information about the function [other wrong options] [Discuss in forum] predefined function a function which contains several return statements keyword None of the above. |
Q26 ⇒ What is the output of this C code? #include void main() { char a = 'A'; char b = 'B'; int c = a + b % 3 - 3 * 2; printf("%d\n", c); } 59 [other wrong options] [Discuss in forum] 42 47 63 |
Q27 ⇒ The character which indicates the end of
a character string is known as the null character [other wrong options] [Discuss in forum] the ASCII character the newline character the nil character None of the above. |
Q28 ⇒ What is the output of this C code? #include void main() { int a = 2 + 4 + 3 * 5 / 3 - 5; printf("%d", a); } 6 [other wrong options] [Discuss in forum] 2 4 8 |
Q29 ⇒ The string HELLO WORLD needs 11 bytes [other wrong options] [Discuss in forum] 12 bytes 10 bytes 8 bytes None of the above. |
Q30 ⇒ Which of the following method are accepted for assignment? a = b = c = d = 5; [other wrong options] [Discuss in forum] a = b = 5 = c = d; 5 = a = b = c = d; None |
Q31 ⇒ The end of a string is recognised by the null character [other wrong options] [Discuss in forum] the newiine character the $ sign the / sign None of the above. |
Q32 ⇒ The system function longjmp() can be used to return execution control to any user-specified point in the active function call tree? True [other wrong options] [Discuss in forum] False -+ Undetermined |
Q33 ⇒ The arrow operator is represented as -> [other wrong options] [Discuss in forum] <- (arrow) >> None of the above |
Q34 ⇒ The end of a C statement is indicated by this character? ; [other wrong options] [Discuss in forum] + : . |
Q35 ⇒ The right shift operator is represented as >> [other wrong options] [Discuss in forum] > -> < None of ihe above. |
Q36 ⇒ C Language developed at _________? AT & T's Bell Laboratories of USA in 1972 [other wrong options] [Discuss in forum] Sun Microsystems in 1973 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 |
Q37 ⇒ What is result after the following statements of C are executed? char ch; int i; ch = 'G'; i = ch-'A'; printf("%d", i); 6 [other wrong options] [Discuss in forum] 1 3 9 |
Q38 ⇒ The recursive functions are executed in a ........... Last In First Out order [other wrong options] [Discuss in forum] First In First Out order. Random order Parallel order |
Q39 ⇒ Which symbol terminates a C statement? ; [other wrong options] [Discuss in forum] . , } |
Q40 ⇒ A field width specifier in a printf()
function specifies how many characters positions will be used for a number [other wrong options] [Discuss in forum] specifies the maximum value of a
number controls the size of type used to print numbers controls the margins of the program listing None of the above |
Or |