(Programming Fundamental)
Multiple Choice Question
1. Which one is arithmetic operator?
(a) & (b) < (c) + (d)
None of these
2. The function scanf() reads
(a) A single char (b) any possible variable type (c) any possible number
3._____ values do not change during
program execution.
(a) Constant (b) Variable (c) Coefficient (d)
None of these
4. All reserved word in C programs must
be written in___________
(a)Uppercase (b) Lower case (c)
small case (d)
None of these
5. Which symbol is used as a statement
terminator in C?
(a)
; (b) # (c)
! (d)
None of these
6. The operator && is an example
for____ operator
(a)Assignment (b) Increment (c)
Logical (d) None of these
7. The correct way of declaring a float
pointer is
(a)float *ptr (b) float ptr (c) *float ptr (d) None of these
No comments:
Post a Comment