CPR MCQ'S: JSPM Group of Institutes, Pune Sberct'S, Bhagwant Institute of Technology, Barshi
CPR MCQ'S: JSPM Group of Institutes, Pune Sberct'S, Bhagwant Institute of Technology, Barshi
CPR MCQ'S: JSPM Group of Institutes, Pune Sberct'S, Bhagwant Institute of Technology, Barshi
a) X is a four-digit integer.
b) X cannot be greater than a four-digit integer.
c) X is a four-bit integer.
d) None of the these
13) How many characters can a string hold when declared as follows?
Char name[20];
a) 18
b) 19
c) 20
d) None of the these
14) C is the successor of ___ programming language.
a) C++
b) B++
c) B
d) Mini C
15) In C, what is the correct hierarchy of arithmetic operations?
a) */ + -
b) * +- /
c) / *+ -
d) + - / *
16) C is which level language.
A) Low Level
B) High Level
C) Low + High
D) None
17) C language was invented in which laboratories?
A) Uniliver Labs
B) IBM Labs
C) AT&T Bell Labs
D) Verizon Labs
18) C language was invented in the year?
A) 1999
B) 1978
C) 1972
D) 1990
19) Which one is not a reserve keyword in C Language?
A) auto
B) main
C) case
D) register
20) What will be the output of the following C code?
a) a = 1, b = 1
b) a = 2, b = 1
c) a = 1, b = 2
d) a = 2, b = 2
21) What will be the output of the following C code?
a) 0
b) 1
c) 2
d) Compile time error
22) What will be the output of the following C code?
a) Implementation defined
b) 1
c) 3
d) Compile time error
24) What is constant?
A. Constants have fixed values that do not change during the execution of a
program
B. Constants have fixed values that change during the execution of a program
C. Constants have unknown values that may be change during the execution of a program
D. None of the above
25) What is Keywords?
A. Keywords have some predefine meanings and these meanings can be changed.
B. Keywords have some unknown meanings and these meanings cannot be changed.
C. Keywords have some predefine meanings and these meanings cannot be changed.
D. None of the above
26) What is C Tokens?
A. The smallest individual units of c program
B. The basic element recognized by the compiler
C. The largest individual units of program
D. A & B Both
27) Bitwise operators can operate upon?
A. double and chars
B. floats and doubles
C. ints and floats
D. ints and chars
28) Which of the following are tokens in C?
a) Keywords
b) Constant
c) Variable
d) All of the above
29) Which symbol is used as a statement terminator in C?
a) !
b) #
c) ~
d) ;
30) Which escape character can be used to begin a new line in C?
a) \a
b) \b
c) \m
d) \n