What is the correct answer?


Static data member can be declared as const too.

A. True

B. False

Correct Answer :

A. True

Related Questions

When accessing a structure member, the identifier to the left of the dot… By using protected, one can create class members that are private to their… In C++, the stream base class is Which of the following are good reasons to use an object oriented language? The ?: can be used to replace Which of the following is true about const member functions? A base class is inherited by Class members are _______________ by default this' is an implicit pointer. The member of a structure can be directly accessed by iostream is inheried from istream, ostream and ios class. A class that contains at least one pure virtual function is called as The getch() library function The binding that binds a function call at run time is called Inline function specifier reduces the overheads associated with a normal… A destructor can have arguments like constructor. main() returns a value of type The exception is processed using If class A is friend of class B and if class B is friend of class C, which… Friend function have access to the In a for loop with a multi-statement loop body, semicolons should appear… The members of a class by default are private. The value of 'this' pointer can be changed. In C++, the exception handler is invoked with a- The member of a structure can be accessed through a pointer by Member function cannot be called from within a constructor. We can make function inline by using the keyword 'inline'. In a class, only the member function can access data, which is not accessible… Static data member can be declared as const too. A function that is called automatically when an object is destroyed is…