This Quiz contains totally 10 Questions each carry 1 point for you.
1. The escape character used to begin a new line in C is
a
b
m
n
Correct!
Wrong!
2. The escape character used to beep from speaker in C is
a
b
m
n
Correct!
Wrong!
3. Character constants should be represented with
Single quotes
Double quotes
Both A and B
None of the above
Correct!
Wrong!
4. String constants should be represented with
single quotes
Double quotes
Both A and B
None of the above
Correct!
Wrong!
5. . Which of the following is invalid?
' '
" "
'a'
'abc'
Correct!
Wrong!
6. What is the maximum length of a variable in C ?
8
16
32
64
Correct!
Wrong!
7. What is the maximum size of a float variable?
1 byte
2 bytes
4 bytes
8 bytes
Correct!
Wrong!
8. A declaration float a,b; occupies ___ of memory
1 byte
4 bytes
8 bytes
16 bytes
Correct!
Wrong!
9. What is the maximum size of a double variable?
1 byte
4 bytes
8 bytes
16 bytes
Correct!
Wrong!
10. What is the size of a String variable ?
1 byte
8 bytes
16 bytes
None of the above
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
C-Programming-Quiz-2
You got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...
