C-Programming-Basic Solved MCQs (Set-1)
C-Programming-Basic Solved MCQs (Set-1)
A. bjarne stroustrup
B. dennis ritchie
C. james a. gosling
Answer: A
A. -3.4e38 to 3.4e38
B. -32767 to 32768
C. -32768 to 32767
D. -32668 to 32667
Answer: C
A. an editor
B. a compiler
Answer: B
A. an alphabet
B. a number
C. ()
Answer: C
A. / + * -
B. * - / +
C. + - / *
D. * / + -
Answer: D
8. What is an array?
C. an array is not a collection of variables that are of the same data type.
Answer: B
A. sequential
B. random
Answer: A
11. What is the right way to access value of structure variable book{ price,
page }?
Answer: A
Answer: B
D. a & b both
Answer: D
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.
Answer: C
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
Answer: A
q M
C. const int var = 10;
c
D. b & c both
M
Answer: D
A. ::, ?
B. ?, :
C. ?, ;;
Answer: B
A. constant
B. variable
C. special symbol
Answer: A
Answer: C
c
C. function is a block of code that performs a specific task. it has a name and it is reusable
Answer: B
A. 54
B. 27
C. 26
Answer: D
A. array
B. binary tree
C. queue
D. stack
Answer: B
o m
25. Recursive functions are executed in a?
.c
te
A. first in first out order
a
B. load balancing
q M
C. parallel fashion
c
D. last in first out order M
Answer: D
For Discussion / Reporting / Correction of any MCQ please visit discussion page by clicking on
'answer' of respective MCQ.
PlayStore
o m
.c
te
a
q M
c
M