What is the correct answer?


Static data member occurs in only class scope.

A. True

B. False

Correct Answer :

B. False

Related Questions

A destructor can have a return type. In case of nested class, enclosing class can directly access the private… The ?: can be used to replace A base class is inherited by Which of the following is not a component of file system If a friend function is declared inside a class it can access all data… _______ argument(s) are passed in case of unary overloaded operators. Class members are _______________ by default this' is an implicit pointer. this' pointer has to be used while accessing data members in a member… If class A is friend of class B and if class B is friend of class C, which… The template function declaration specifies A function that is called automatically when an object is created is known… It is possible to allow non member function access to private members… Friend function have access to the Class is similar to a variable. Which of the following is true about const member functions? Reference to an object behaves like a constant pointer. The library function exit() causes an exit from We can make function inline by using the keyword 'inline'. One of the major disadvantage with late binding is Scope resolution operator has the highest precedence. cc ___________ option is used only to create object file When accessing a structure member, the identifier to the left of the dot… The signature of a function is main() returns a value of type In C++, the keyword auto can be used for _____________ operator must have one class object The following syntax is valid. void inline gram_ panchayat :: show_gram_… Inline functions_____________ call overload.