| Questions |
Show Answers |
Total Posts |
Post Your Answers |
Last Post |
C++ was invented by
a. Donald Drum
b. Ken Thompson
c. Bjarne Stroustrup
|
Show Answers | 52 |
Post Your Answers |
mansijyoti |
Which one is use for standard C++ comment.
a. /
b. /* */
c. //
|
Show Answers | 18 |
Post Your Answers |
princygarg |
What the use of preprocessor directory(# include)
a. Used for console output
b. Used for console input
c. Used for both console input and output
|
Show Answers | 10 |
Post Your Answers |
vinay |
In C++ operator << is called as
a. an insertion operator or put to operator
b. an extracton operator or get from operator
c. an insertion operator or get from operator
|
Show Answers | 10 |
Post Your Answers |
princygarg |
In C++ operator >>is called as
a. an extraction operator or get from operator
b. an insertion operator or put to operator
c. an extraction operator or put to operator
|
Show Answers | 5 |
Post Your Answers |
princygarg |
Who suggest C++ name?
a. Bjnare Stroustrup
b. Ken Thompson
c. Rrick Mascitti
|
Show Answers | 8 |
Post Your Answers |
swapn sharma |
Constructor is called when
a. a method is declared
b. a class is declared
c. a object is declared
|
Show Answers | 4 |
Post Your Answers |
princygarg |
Who is differ from other?
a. C
b. C++
c. Java
|
Show Answers | 3 |
Post Your Answers |
princygarg |
Function overloading in C++ is
a. a group function with the same name
b. all have the same number and type of arguments
c. functions with same name and same number and type of arguments |
Show Answers | 5 |
Post Your Answers |
BEBINA SAHOO |
Opertor Overloading is like that
a. giving new meaning to existing C++ operators
b. making c++ operators works with objects
c. both a and b |
Show Answers | 2 |
Post Your Answers |
Bebina sahoo |
Destructor can contain
a. Zero arguments
b. One arguments
c. Two arguments
|
Show Answers | 6 |
Post Your Answers |
princygarg |
How constructor differ from destructor
a. constructors can be overloaded but destructors can't be overloaded
b. constructors can take arguments but destructor can't
c. both a and b |
Show Answers | 5 |
Post Your Answers |
princygarg |
In C++ a function contain in class called as
a. a method
b. a member function
c. a class function
|
Show Answers | 3 |
Post Your Answers |
princygarg |
By default fields in a C++ class are
a. Public
b. Private
c. Protected
|
Show Answers | 7 |
Post Your Answers |
princygarg |
What is output of follwoing
int main() {
cout << "R4R" << endl;
return 0;
}
1.Execution time error
2.Syntax error
3.R4R
4.None
|
Show Answers | 12 |
Post Your Answers |
Bebina sahoo |
What is output of following
#include <iostream.h>
int main() {
cout << "R4R" << endl;
return 0;
}
1.Execution time error
2.Syntax error
3.R4R
4.None |
Show Answers | 7 |
Post Your Answers |
princygarg |
What is output of follwoing
int main() {
int a=000;
cout << "R4R:";
cout << a;
return 0;
}
1.Execution time error
2.Syntax error
3.R4R:0
4.None
|
Show Answers | 16 |
Post Your Answers |
Bebina sahoo |
R4R,CPP Objective, CPP Subjective, CPP Interview Questions And Answers,CPP,CPP Interview,CPP Questions ,CPP Answers