.
Executable code
Object code
Assembly code
None of the above
Gcc
Cc
Borland
Vc++
True
False
A,b,d
A,b,c
B,c,d
C,d,a
Memalloc()and alloc()
Malloc() and memalloc()
Malloc() and calloc()
Memalloc() and calloc()
2
4
8
Compiler dependent
C++
B++
B
Mini c
110010
1010110
101
101.011.00.
Math.h
Conio.h
Dos.h
Stdio.h
*
#
&&
@
*/ + -
* +- /
/ *+ -
+ - / *
Hello, World!
No output
Compiler error
Runtime error
!
&&
| |
&
Printf("\\n");
Printf("n\");
Printf("n");
Printf('\n');
4
2
0
1
Class
Int
String
Double
Top-down
Bottom-up
Right-left
None
Class
Member functions
Constructor
Destructor
Multilevel
Multiple
Distributive
Hierarchial
[ ]
->
?:
*
Classes cannot have data as protected members.
Structures can have functions as members.
Class members are public by default.
Structure members are private by default.
Class is an instance of object.
Object is an instance of a class.
Class is an instance of data type.
Object is an instance of data type.
Construct a new class
Construct a new object
Construct a new function
Initialize objects
Missing semicolon in statement in main()
A problem in calling function.
A syntax error
A run-time error
Impossible
Unlikely
Fifty Fifty
Fairly Likely
Certain
138,150,180
114,120,132
120,132,150
132,138,150
C
E
S
U
FLOW
SNIP
TRAP
DRAW
BACK
*,-,+,*,-
*,+,+,-,*
+,*,-,*,+
+,*,+,*,-
2 times
2 1/2 times
2 3/4 times
4 times
45%
45 5/11%
55 6/11%
55%
1:3
3:2
3:4
None of the above
Thursday
Friday
Saturday
Sunday
10
13
14
15
23m
23 2/9m
27 7/9m
29m
3.6sec
18sec
36sec
72sec
2:3
4:3
6:7
9:16
9
9.6
10
10.8
263
383
331
551
36
72
196
225
128
-128
192
-192
513
511
517
523
22
40
38
23
2:5
3:5
4:5
6:7
20 litres
30 litres
40 litres
60 litres
2:3:4
6:7:8
6:8:9
None of these
Rs.182
Rs.190
Rs.196
Rs.204
8:9
17:18
21:22
Cannot be determined
50
100
150
200
5/11
6/11
7/11
8/11
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.