|
Question
|
Option1
|
Option2
|
Option3
|
Option4
|
Option5
|
Answer
|
|
|
Overloaded functions are
|
Very long functions that can hardly run
|
One function containing another one or more functions inside it.
|
Two or more functions with the same name but different number of parameters or type.
|
None of above
|
|
D
|
Edit |
Details |
Delete
|
|
Which of the following is not a jump statement in C++?
|
break
|
goto
|
exit
|
switch
|
|
D
|
Edit |
Details |
Delete
|
|
Which of the following is output statement in C++?
|
print
|
write
|
cout
|
cin
|
|
C
|
Edit |
Details |
Delete
|
|
Which of the following is extraction operator in C++?
|
^
|
v
|
<<
|
>>
|
|
D
|
Edit |
Details |
Delete
|
|
The result of a Relational operation is always
|
either True or False
|
is less than or is more than
|
is equal or less or more
|
All of these
|
|
A
|
Edit |
Details |
Delete
|
|
Which of the following can not be used as valid identifier?
|
bitand
|
bittand
|
biand
|
band
|
|
A
|
Edit |
Details |
Delete
|
|
Every function in C++ are followed by
|
Parameters
|
Parenthesis
|
Curly braces
|
None of these
|
|
B
|
Edit |
Details |
Delete
|
|
There is a unique function in C++ program by where all C++ programs start their execution
|
Start()
|
Main()
|
Begin()
|
Output()
|
|
B
|
Edit |
Details |
Delete
|
|
Which of the following is not a correct variable type?
|
float
|
real
|
int
|
double
|
|
B
|
Edit |
Details |
Delete
|
|
How many times is a do while loop guaranteed to loop?
|
0
|
Infinitely
|
1
|
Variable
|
None of above
|
C
|
Edit |
Details |
Delete
|
|
Which is not a loop structure?
|
for
|
do while
|
while
|
repeat until
|
None of above
|
D
|
Edit |
Details |
Delete
|
|
Which of the following is the correct operator to compare two variables?
|
:=
|
=
|
equal
|
==
|
None of above
|
D
|
Edit |
Details |
Delete
|
|
Inline functions are invoked at the time of
|
Run Time
|
Compile Time
|
Both A,B
|
none of above
|
|
B
|
Edit |
Details |
Delete
|
|
Every class has at least one constructor function, even when none is declared.
|
False
|
True
|
|
|
|
B
|
Edit |
Details |
Delete
|
|
The default access level assigned to members of a class is ___________
|
Protected
|
Private
|
Public
|
Inheritance
|
None of above
|
B
|
Edit |
Details |
Delete
|
|
Which of the following library function below by default aborts the program?
|
Abort()
|
Final()
|
Terminate()
|
Terminate
|
None of above
|
C
|
Edit |
Details |
Delete
|
|
What happens when a pointer is deleted twice?
|
It can cause an error
|
It can cause an error Undefined
|
It can cause a trap
|
It can cause a compile time error
|
None of above
|
C
|
Edit |
Details |
Delete
|
|
When following piece of code is executed, what happens?
b = 3;
a = b++;
|
a contains 3 and b contains 4
|
a contains 4 and b contains 4
|
a contains 4 and b contains 3
|
a contains 3 and b contains 3
|
None Of These
|
A
|
Edit |
Details |
Delete
|
|
What defines a general set of operations that will be applied to various types of data?
|
Function
|
Template
|
Functiontemplate
|
both a and b
|
None of above
|
C
|
Edit |
Details |
Delete
|