Related Questions
What is the correct answer?
4
The binding that binds a function call at run time is called
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
Which of the following can legitimately be passed to a function?
What is the correct answer?
4
A direct access file is:
A. A file in which recoreds are arranged in a way they are inserted in a file
B. A file in which records are arranged in a particular order
C. Files which are stored on a direct access storage medium
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
Member function cannot be called from within a constructor.
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
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
main() returns a value of type
What is the correct answer?
4
Classes are useful because they
A. Are removed from memory when not in use
B. Permit data to be hidden from other classes
C. Bring together all aspects of an entity in one place
D. Can closely model objects in the real world
What is the correct answer?
4
Scope resolution operator has the highest precedence.
What is the correct answer?
4
Class is similar to a variable.
What is the correct answer?
4
We cannot have the address of a constructor.
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
Static member functions have file scope.
What is the correct answer?
4
iostream is inheried from istream, ostream and ios class.
What is the correct answer?
4
Overloaded functions
A. Are a group of functions with the same name
B. All have the same number and types of arguments
C. Make life simpler for programmer
D. May fail unexpectedly due to stress
What is the correct answer?
4
In C++, an identifier must be initialized using constant expression.
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
Class members are _______________ by default
D. None of the above are correct
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
The exception is processed using
What is the correct answer?
4
_____________ operator must have one class object
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
In C++, the stream base class is
What is the correct answer?
4
Protected members cannot be inherited.
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
_______ argument(s) are passed in case of binary overloaded operators.