Related Questions
What is the correct answer?
4
Objects get destroyed in the reverse order as they are created.
What is the correct answer?
4
Data objects can be initialized when allocating memory using 'new'.
What is the correct answer?
4
The members of a class by default are private.
What is the correct answer?
4
Sharing of common information are achieved by the concept of
What is the correct answer?
4
ios containes a pointer to streambuf.
What is the correct answer?
4
Class members are _______________ by default
D. None of the above are correct
What is the correct answer?
4
The string table in C++ holds the
A. string constants in your program
B. program statements in string form
C. variables whose type is of string
What is the correct answer?
4
A destructor can have arguments like constructor.
What is the correct answer?
4
When accessing a structure member, the identifier to the left of the dot operator is the name of
What is the correct answer?
4
The characteristic that data can be manipulated only through member functions that are part of the class is called
What is the correct answer?
4
The members of a class can be made private by
A. declaring them private
B. by default they are private
C. by declaring them in the beginning of the program immediately after main()
D. they are always public
What is the correct answer?
4
A class that contains at least one pure virtual function is called as
What is the correct answer?
4
An object is an allocated space in memory.
What is the correct answer?
4
Static data member can be declared as const too.
What is the correct answer?
4
Private members of a structure can be accessed directly from the outside of the structure.
What is the correct answer?
4
Private data members can be accessed
A. Only from the base class itself
B. Both from the base class and form its derived classes
C. From the class which is a friend of the base class
D. None of the above is correct
What is the correct answer?
4
Inline function specifier reduces the overheads associated with a normal function call.
What is the correct answer?
4
The && and || operators
A. Compare two numeric values
B. Combine two numeric values
C. Compare two Boolean values
D. Combine two Boolean values
What is the correct answer?
4
A function that is called automatically when an object is destroyed is known as
What is the correct answer?
4
A normal C++ operator that acts in a special way on newly defined data types is said to be
What is the correct answer?
4
The scope resolution operator is -
What is the correct answer?
4
The template function declaration specifies
What is the correct answer?
4
this' pointer has to be used while accessing data members in a member function.
What is the correct answer?
4
_______ argument(s) are passed in case of unary overloaded operators.
What is the correct answer?
4
When one object initializes another object the following function is invoked
What is the correct answer?
4
Element double Array[7] is which element of the array?
What is the correct answer?
4
In case of nested class, enclosing class can directly access the private data member of nested class.
What is the correct answer?
4
In C++, identifiers have to be declared at the beginning of the blocks.
What is the correct answer?
4
The declaration int **var1; shows that
A. var1 can not be accessed
B. var1 is a pointer to a pointer of type int
C. var1 is a protected data type of integer
D. this type declaration shows an error
What is the correct answer?
4
In C++, the exception handler is invoked with a-