MCQs: In CPP, it is mandatory and must to initialize const variables.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: When a class is defined inside any function or block, it is called ___________ .
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Which of the followings are false statements about Local class? 1. A local class type name can only be used in the enclosing function 2. All the methods of Local classes must be defined inside the class only 3. A Local class can contain static data members. 4. A Local class may contain static functions. 5. Non-static variables of the enclosing function are not accessible inside local classes. 6. Local classes cannot access global types, variables and functions.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Due to ios::trunc mode, the file is truncated to zero length.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: A const object of a class can call non-const member function of the class.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: If an argument to a function is declared as const, then _______ .
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Return type of uncaught_exception() is ________________ .
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Can we write throw clause inside catch handler?
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Default values for a function are specified when ____ .
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Can member functions of one class be friend functions of another class?
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: In case of binary operator overloading with member function, which of following statement should be taken into consideration?
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Can constructors be overloaded?
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Assume class TEST. Which of the following statements is/are responsible to invoke copy constructor?
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: When overloading unary operators using Friend function,it requires_____ argument/s.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: In CPP program, Can we declare and define a user defined function inside a struct as we do in a class ?
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: ____________ refers to the act of representing only essential features without including the background details.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Runtime polymorphism is achieved only when a virtual function is accessed through a pointer to the base class.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Find the wrong statement/s about Abstract Class.
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Assigning one or more function body to the same name is called ____________ .
Category: Computer Science MCQs, Published by: teswesm
|
MCQs: Function overloading can also be achieved if two or more functions differ only in their return types.
Category: Computer Science MCQs, Published by: teswesm
|