Related Questions
What is the correct answer?
4
Reference to an object behaves like a constant pointer.
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
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
Public 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
In C++, an identifier must be initialized using constant expression.
What is the correct answer?
4
The exception is processed using
What is the correct answer?
4
Element double Array[7] is which element of the array?
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
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
Class is similar to a variable.
What is the correct answer?
4
What is the output of the following program segment - for(i = 1, j = 0; i < 10; i++) j += i; cout <<i<<"
";
D. there is an error in the program
What is the correct answer?
4
In C++, the exception handler is invoked with a-
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
cc ___________ option is used only to create object file
What is the correct answer?
4
The ?: can be used to replace
What is the correct answer?
4
Which of the following is not a component of file system
B. Auxiliary storage management
C. Free integrity mechanism
What is the correct answer?
4
_______ argument(s) are passed in case of unary overloaded operators.
What is the correct answer?
4
The template function declaration specifies
What is the correct answer?
4
The break statement causes an exit
A. Only from the innermost loop
B. Only from the innermost switch
C. From all loops and switch
D. Only from the innermost loops or switch
What is the correct answer?
4
"[]" Operator is a unary operator.
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
The member of a structure can be accessed through a pointer by
What is the correct answer?
4
We can make function inline by using the keyword 'inline'.
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
The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
What is the correct answer?
4
When you overload an arithmetic assignment operator, the result
A. Goes in the object to the right of the operator
B. Goes in the object to the left of the operator
C. Goes in the object of which the operator is a member
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 members of a class by default are private.
What is the correct answer?
4
Delete operator is used
C. To delete variable name
D. None of the above are correct