Choose a topic to test your knowledge and improve your OOPS skills
How is it possible to have both const and non-const version of a function?
When both the const and non-const version of functions are required?
If a function is to be made const, which is the correct syntax?
Functions which differ in const-ness are considered _________
If const version of a function when overloading is used, the function ______
Which among the following is recommended for const functions?
Use of const member function in a program ______
How many types of member functions are possible in general?
Simple member functions are ________
What are static member functions?
How can static member function can be accessed directly in main() function?
Correct syntax to access the static member functions from the main() function is _______
What are const member functions?
Which among the following best describes the inline member functions?
What are friend member functions (C++)?
What is the syntax of a const member function?
Which keyword is used to make a nonmember function as friend function of a class?
Member functions ______
All type of member functions can’t be used inside a single class.
Which among the following is true?
Which keyword is used to define the static member functions?
Which keyword is used to define the inline member function?
Which among the following best describes member functions?
How many types of member functions are generally there in C++?
How can a static member function be called in the main function?
What are inline member functions?
How to access members of the class inside a member function?
For overloading “( )”, “[ ]” or “->” operators, a class _____
If a virtual member function is defined _________
Member functions of a generic class are ______
Member function of a class can ______
Which among the following is proper syntax for class given below? class A { int a,b; public : void disp(); }
A member function can _____ of the same class.
Which member function doesn’t require any return type?
Which among the following is not possible for member function?
Which among the following is correct definition for static member functions?
Which is correct syntax to access the static member functions with class name?
Which among the following is not applicable for the static member functions?
Which among the following is true?
The static members are _______
Which among the following is true?
The static member functions ______
Which keyword should be used to declare the static member functions?
The keyword static is used ______
Which among the following can’t be used to access the members in any way?
We can use the static member functions and static data member _______
The static data member ________
If static data member are made inline, ______
Which among the following best describes member function overriding?
Which among the following is true?