Programming - C++ Language
You Are Here :: Home > C++ Language > Introduction - General Questions
25. |
Char Variable data type use how many storage.
|
A. |
8 Bytes |
B.
|
4 Bytes |
C.
|
1 Bytes
|
D.
|
Non of the Above
|
|
Answer: Option C
Explanation:
|
26. |
What is the only function all C++ programs must contain?
|
A. |
start () |
B.
|
system() |
C.
|
main()
|
D.
|
program()
|
|
Answer: Option C
Explanation:
|
27. |
What will be print after executing following statement. (ASCII value of ‘A’ is 65) int value=65; b.char ch=value; c.cout<d. value=65;
|
A. |
‘A’ |
B.
|
65 |
C.
|
Error
|
D.
|
Non of the Above
|
|
Answer: Option A
Explanation:
|
28. |
What does the following evaluate to: 12*6/4+59-2/3*49?
|
A. |
1225 |
B.
|
77 |
C.
|
0.5374
|
D.
|
0.008
|
|
Answer: Option B
Explanation:
|
29. |
Each pass through a loop is called a/an
|
A. |
enumeration |
B.
|
iteration |
C.
|
culmination
|
D.
|
pass through
|
|
Answer: Option B
Explanation:
|
30. |
Which looping process checks the test condition at the end of the loop?
|
A. |
for |
B.
|
while |
C.
|
do-while
|
D.
|
no looping process checks the test condition at the end
|
|
Answer: Option C
Explanation:
|
« prev
next »