Which of the following is not recommended in a header file?
If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?
The output of this program is int main () { cout << "Hello World!" return 0; }
What is the suitable output device for CAE, CAD and CAM?
Which of the following operators can be overloaded?
Which of the following is the most preferred way of throwing and handling exceptions?
What’s wrong? while( (i < 10) && (i > 24))
Which of the following is true about const member functions?
Which of the following is not a magnetic storage medium?
What’s wrong? for (int k = 2, k <=12, k++)
Which looping process is best used when the number of iterations is known?
The time taken to move an access arm to a certain track on a disk is
Which of the following is a valid destructor of the class name “Country”
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);
Which of the following port is used to connect DB-25 pin modems or scanners?
What is the Difference between struct and class in terms of Access Modifier?
The output of{int a = 5;int b = 10;cout << (a>b?a:b);}
Which of the following is the most general exception handler that catches exception of ‘any type’?
Statement scanf(“%d”,80);
A kind of memory chip that stores data and instructions permanently is
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
Minimum number of temporary variable needed to swap the contents of 2 variables is:
STL is based on which of the following programming paradigms?
Which of the following printer produces most noise?
Each pass through a loop is called a/an
There is nothing like a virtual constructor of a class.
A standard CD ROM can hold data up to
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?
The two types of file structure existing in VSAM file are
In a group of nested loops, which loop is executed the most number of times?
Originally ‘C’ was developed as:
Which of the following keyword supports dynamic method resolution?
The conditional compilation
What is the implicit pointer that is passed as the first argument for nonstatic member functions?
A disk is divided into several concentric circles called
Which of the following ROM is most convenient to rewrite?
The return value of the following code is Class1& test(Class1 obj){Class1 *ptr = new Class1();.........return ptr;}