const member function does not allow to modify/alter value of any data member of the class.
Scope resolution operator is used______ .
In CPP program, Can we declare and define a user defined function inside a struct as we do in a class ?
A function can be declared as friend maximum only in two classes.
If a class contains static variable, then every object of the class has its copy of static variable.
Using friend operator function, following perfect set of operators may not be overloaded.
Classes in CPP are________ .
Public data members and member functions of the class are accessible ONLY to the member functions of that class.
We can initialize a value of static variable of a class only when its object is created. No other initialization is permitted.
What is the difference between protected and private access specifiers in inheritance?
A friend function does not have 'this' pointer associated with it.
In CPP, it is mandatory and must to initialize const variables.
A const object of a class can call non-const member function of the class.
If an argument to a function is declared as const, then _______ .
Can member functions of one class be friend functions of another class?
Static variable must be declared in public section of the class.
By default, if a function with minimum lines of code is declared and defined inside the class becomes Inline function.
Static variable declared in a class are also called_________ .