Which of the following is the most preferred way of throwing and handling exceptions?
Which of the following below is /are a valid iterator type?
Which of the STL containers store the elements contiguously (in adjacent memory locations)?
Which of the following is true about const member functions?
The default access level assigned to members of a class is ___________.
If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?
Observe following program and answer class Example{public: int a,b,c; Example(){a=b=c=1;} //Constructor 1, Example(int a){a = a; b = c = 1;} //Constructor 2, Example(int a,int b){a = a; b = b; c = 1;} //Constructor 3, Example(int a,int b,int c){ a = a; b = b; c = c;} //Constructor 4}In the above example of constructor overloading, the following statement will call which constructor Example obj = new Example (1,2,3);
Inline functions are invoked at the time of
Minimum number of temporary variable needed to swap the contents of 2 variables is:
Which looping process is best used when the number of iterations is known?
Each pass through a loop is called a/an
If there is more than one statement in the block of a for loop, which of the following must be placed at the beginning and the ending of the loop block?
Which of the following is the most general exception handler that catches exception of ‘any type’?
What is the difference between overloaded functions and overridden functions?
The output of this program is int a = 10;void main(){int a = 20;cout << a << ::a;}
Value of a in a = (b = 5, b + 5); is
‘Prime area’ in context of file system is defined as
Which of the following is/are advantages of cellular partitioned structure:
Which of the following keyword supports dynamic method resolution?
Which of the following is not an optical storage medium?
Which of the following operators below allow to define the member functions of a class outside the class?
Under which of the following circumstances, synchronization takes place?
A kind of memory chip that stores data and instructions permanently is
Which device in microprocessor stores the data to be processed?
When is std::bad_alloc exception thrown?
How many copies of a class static member are shared between objects of the class?
Which of the following relationship is known as inheritancerelationship?
Which one of the following is not a fundamental data type in C++
Which of the following is not recommended in a header file?
What’s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
The output of this program is int main () { cout << "Hello World!" return 0; }
There is nothing like a virtual constructor of a class.
Which of the following ROM is most convenient to rewrite?
C++ provides facility to specify that the compiler should match function calls with the correct definition at the run time. This process is called as
Which of the following operators can be overloaded?
The temporary output of a computer system is called
Which of the following is not a component of file system
Which of the following port is used to connect DB-25 pin modems or scanners?