Related Questions
What is the correct answer?
4
Static data member can be declared as const too.
What is the correct answer?
4
Inline functions_____________ call overload.
C. None of the above are correct
What is the correct answer?
4
A variable defined within a block is visible
A. From the point of definition onwards in the program
B. From the point of definition onwards in the function
C. From the point of definition onwards in the block
D. Throughout the function
What is the correct answer?
4
One of the major disadvantage with late binding is
A. the source code should be made available at compile time
B. the program runs slower
C. dynamic variables can not be used in the program
D. static variables can not be used
What is the correct answer?
4
A constructor cannot be explicitly called.
What is the correct answer?
4
In C++, the exception handler is invoked with a-
What is the correct answer?
4
Static member functions have file scope.
What is the correct answer?
4
Data objects can be initialized when allocating memory using 'new'.
What is the correct answer?
4
Pick out the most appropriate statement from the following
A. references are pointers
B. array of references can be created
C. you can not reference a reference variable
What is the correct answer?
4
Protected data members can be accessed
A. Only from the base class itself
B. Both form the base class and from its derived classes
C. From the class which is friend of the base class
D. None of the above are correct
What is the correct answer?
4
The member of a structure can be directly accessed by
What is the correct answer?
4
The scope resolution operator is -
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
Objects get destroyed in the reverse order as they are created.
What is the correct answer?
4
Inline function specifier reduces the overheads associated with a normal function call.
What is the correct answer?
4
In a class, only the member function can access data, which is not accessible to outside. This feature is called:
What is the correct answer?
4
The signature of a function is
B. The number and type of arguments
C. The class of a function
What is the correct answer?
4
A function that is called automatically when an object is created is known as
What is the correct answer?
4
this' is an implicit pointer.
What is the correct answer?
4
It is possible to allow non member function access to private members of a class by declaring it as
What is the correct answer?
4
In C++, the stream base class is
What is the correct answer?
4
In C++, the keyword auto can be used for
A. Automatic assignment of data to object during instantiation
B. Automatic call of a function
C. To declare a local variable
D. It is not a keyword in C++
What is the correct answer?
4
An object is an allocated space in memory.
What is the correct answer?
4
Sharing of common information are achieved by the concept 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
We can make function inline by using the keyword 'inline'.
What is the correct answer?
4
In C++, an identifier must be initialized using constant expression.
What is the correct answer?
4
Friend function have access to the
A. private and protected members
D. None of the above are correct
What is the correct answer?
4
A member function can always access the data
A. In the object of which it is a member
B. In the class of which it is a member
C. In the object of the class of which it is a member
D. In the public part of its class
What is the correct answer?
4
_______ argument(s) are passed in case of binary overloaded operators.