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. |
Q1 ⇒ Which of the following is not a linked data
structure? None of the above [other wrong options] [Discuss in forum] linear linked list circular linked list linked list with multiple pointersd.trees All of the above |
Q2 ⇒ The function that sets the position to a
desired point in the file is fseek() [other wrong options] [Discuss in forum] ftell() getw() putc() None of the above |
Q3 ⇒ The function strpbrk(s1,s2) search string for any one of a set of characters [other wrong options] [Discuss in forum] finds a token separated by any of
a set of characters finds the last position in s1 in which s2 appears concatenates s2 to s1. None of the above |
Q4 ⇒ C99 standard guarantess uniqueness of _____ characters for external names. 31 [other wrong options] [Discuss in forum] 63 79 92 |
Q5 ⇒ A C function contain other 'C' functions [other wrong options] [Discuss in forum] function body argument declarations a function header None of the above |
Q6 ⇒ The format identifier ‘%i’ is also used for _____ data type? int [other wrong options] [Discuss in forum] char double float |
Q7 ⇒ If a static array is not initialised, the
elements will be set to zero [other wrong options] [Discuss in forum] an undetermined value a floating point number the character constant '\o' None of the above |
Q8 ⇒ What is the output of this C code? #include int main() { int var = 010; printf("%d", var); } 8 [other wrong options] [Discuss in forum] 2 4 6 |
Q9 ⇒ Which of the following is a declaration
for a function that accepts an argument
which is a pointer to an integer quantity
and returns a pointer to a six-element
character array? char (*p(int *a)[6]); [other wrong options] [Discuss in forum] char p(int (*a)[6]); char p(int *a[6]); char *p(int a[6]); None of the above. |
Q10 ⇒ Which keyword is used to prevent any changes in the variable within a C program? mutable [other wrong options] [Discuss in forum] non mutable volatile const |
Q11 ⇒ The name of the function always ends
with parentheses [other wrong options] [Discuss in forum] semicolon pair of the braces # None of the above |
Q12 ⇒ What is the output of this C code? #include int main() { int a = 10; double b = 5.6; int c; c = a + b; printf("%d", c); } 15 [other wrong options] [Discuss in forum] 5 10 20 |
Q13 ⇒ The int type of constants are whole
numbers in the range -32768 to 32767 [other wrong options] [Discuss in forum] -23677 to 23678 -32767 to 32768 -32864 to 32865 None of the above. |
Q14 ⇒ What is the output of this C code? #include int main() { int a = 10, b = 5, c = 3; b != !a; c = !!a; printf("%d\t%d", b, c); } 5 1 [other wrong options] [Discuss in forum] 0 3 1 1 5 3 |
Q15 ⇒ The print a percent % sign in the control
string we use symbol \% [other wrong options] [Discuss in forum] /% %% %%% None of the above |
Q16 ⇒ When do you need to use type-conversions? All of the above [other wrong options] [Discuss in forum] The value to be stored is beyond the max limit The value to be stored is in a form not supported by that data type To reduce the memory in use, relevant to the value |
Q17 ⇒ In the C language, the character type of
constant is delimited by using single quotes [other wrong options] [Discuss in forum] double quotes parenthesis # None of the above. |
Q18 ⇒ What is the output of this C code? #include void main() { int a = -5; int k = (a++, ++a); printf("%d\n", k); } -3 [other wrong options] [Discuss in forum] -1 -2 -4 |
Q19 ⇒ Between an if statement and the
corresponding else clause, we should
have as many statements as required [other wrong options] [Discuss in forum] only one statement no statement only two statement None of the above. |
Q20 ⇒ What is the output of this C code? #include void main() { int k = 8; int x = 0 == 1 && k++; printf("%d%d\n", x, k); } 0 8 [other wrong options] [Discuss in forum] 0 9 1 8 1 9 |
Or |