Choose a topic to test your knowledge and improve your C/C skills
If the class name is X, what is the type of its “this” pointer (in a nonstatic, non-const member function)?
Which classes allow primitive types to be accessed as objects?
When is std::bad_alloc exception thrown?
Which one of the following is not a fundamental data type in C++
Which of the following is a valid destructor of the class name “Country”
Which of the following correctly describes C++ language?
Which of the following keyword supports dynamic method resolution?
Which of the following is the most preferred way of throwing and handling exceptions?
Which of the following is not true about preprocessor directives
What’s wrong? while( (i < 10) && (i > 24))
A continue statement causes execution to skip to
What’s wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6)
What’s wrong? for (int k = 2, k <=12, k++)
Which of the following is not recommended in a header file?
Which of the STL containers store the elements contiguously (in adjacent memory locations)?
Which of the following is not a standard exception built in C++.
What does STL stand for?#
What is the difference between overloaded functions and overridden functions?
Which one of the following is not a valid reserved keyword in C++
Each pass through a loop is called a/an
Which of the following is true about const member functions?
Which of the following relationship is known as inheritancerelationship?
If class A is friend of class B and if class B is friend of class C, which of the following is true?
direct access file is:
Which of the following is not a component of file system
Seek time is
Prime area’ in context of file system is defined as
In mulit-list organization
Which of the following is/are advantages of cellular partitioned structure
*ptr++ is equivalenet to
The conditional compilation
Originally ‘C’ was developed as
An inverted file
Which of the following is not a file operation:
Latency time is
The two types of file structure existing in VSAM file are
How many copies of a class static member are shared between objects of the class?
Which looping process checks the test condition at the end of the loop?
The default access level assigned to members of a class is _________
Which of the following correctly describes the meaning of‘namespace’ feature in C++?
Which of the following correctly describes the meaning of ‘namespace’ feature in C++?
Which of the following language is not supported by C++?
class derived: public base1, public base2 { } is an example of
Which of the following languages is a subset of C++ language?
How do we declare an ‘interface’ class?
How do we declare an abstract class?
Which of the following is not an advantage of secondary memory
What happens when a pointer is deleted twice?
Which of the following language feature is not an access specifier in C++?
Expression C=i++ causes