The output of this program is int a = 10;void main(){int a = 20;cout << a << ::a;}
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
Each pass through a loop is called a/an
When is std::bad_alloc exception thrown?
The rotational delay time or latency time is also known as
Which of the following is not a valid conditional inclusions in preprocessor directives
Which of the following port is better suitable to support high speed graphics and other video input?
What’s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
Which of the following keyword supports dynamic method resolution?
Which of the following members do get inherited but become private members in child class
Value of a in a = (b = 5, b + 5); is
Which of the following is not true about preprocessor directives
What is the Difference between struct and class in terms of Access Modifier?
The return value of the following code is Class1& test(Class1 obj){Class1 *ptr = new Class1();.........return ptr;}
Which of the following operator cannot be overloaded?
A kind of memory chip that stores data and instructions permanently is
If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?
How many copies of a class static member are shared between objects of the class?
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 relationship is known as inheritancerelationship?
The default access level assigned to members of a class is ___________.
Which of the following correctly describes C++ language?
The output of{int a = 5;int b = 10;cout << (a>b?a:b);}
Which device in microprocessor stores the data to be processed?
In mulit-list organization
A disk is divided into several concentric circles called
Which of the following is not a standard exception built in C++.
Which of the following is/are advantages of cellular partitioned structure:
Which of the following is a valid destructor of the class name “Country”
There is nothing like a virtual constructor of a class.
Which of the following below is /are a valid iterator type?
Which of the following port is used to connect DB-25 pin modems or scanners?
Which of the following term do not refer to an expansion card?
Which looping process checks the test condition at the end of the loop?
Statement scanf(“%d”,80);
In a C language ‘3’ represents
If a member needs to have unique value for all the objects of that same class, declare the member as
In a group of nested loops, which loop is executed the most number of times?