The return value of the following code is Class1& test(Class1 obj){Class1 *ptr = new Class1();.........return ptr;}
Which of the following operators below allow to define the member functions of a class outside the class?
Which of the following is not a file operation:
Which of the following is/are advantages of cellular partitioned structure:
Which of the following is not true about preprocessor directives
Which of the following operators can be overloaded?
Which of the following is not a magnetic storage medium?
Which of the following members do get inherited but become private members in child class
Which of the following is true about const member functions?
What’s wrong? for (int k = 2, k <=12, k++)
Originally ‘C’ was developed as:
Statement scanf(“%d”,80);
Which of the following is the most preferred way of throwing and handling exceptions?
Each pass through a loop is called a/an
Which of the following ROM is most convenient to rewrite?
The two types of file structure existing in VSAM file are
Which of the following is a valid destructor of the class name “Country”
In a group of nested loops, which loop is executed the most number of times?
Which of the following printer produces most noise?
In a C language ‘3’ represents
How many copies of a class static member are shared between objects of the class?
The time taken to move an access arm to a certain track on a disk is
The output of this program is int main () { cout << "Hello World!" return 0; }
Which of the following relationship is known as inheritancerelationship?
Which of the following is not a standard exception built in C++.
Minimum number of temporary variable needed to swap the contents of 2 variables is:
A continue statement causes execution to skip to
Which of the following term do not refer to an expansion card?
What is the Difference between struct and class in terms of Access Modifier?
What’s wrong? while( (i < 10) && (i > 24))
What defines a general set of operations that will be applied to various types of data?
If a member needs to have unique value for all the objects of that same class, declare the member as
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);
*ptr++ is equivalenet to:
What is the implicit pointer that is passed as the first argument for nonstatic member functions?
Which of the following is not a component of file system
Which one of the following is not a fundamental data type in C++