Home

Static data member occurs in only class scope.

A. True

B. False

You can do it
  1. The members of a class can be made private by
  2. The new operator always returns a void pointer.
  3. Which of the following is not a component of file system
  4. A variable defined within a block is visible
  5. When you overload an arithmetic assignment operator, the result
  6. Reference to an object behaves like a constant pointer.
  7. Which of the following is true about const member functions?
  8. The signature of a function is
  9. The declaration int **var1; shows that
  10. The member of a structure can be directly accessed by
  11. Private members of a structure can be accessed directly from the outside of the structure.
  12. The break statement causes an exit
  13. The binding that binds a function call at run time is called
  14. An object is an allocated space in memory.
  15. main() returns a value of type
  16. The value of 'this' pointer can be changed.
  17. A constructor cannot be explicitly called.
  18. Operator overloading is
  19. A function that is called automatically when an object is created is known as
  20. A direct access file is:
  21. Inline functions_____________ call overload.
  22. Classes are useful because they
  23. "[]" Operator is a unary operator.
  24. _____________ operator must have one class object
  25. :: is known as
  26. By using protected, one can create class members that are private to their class but
  27. The string table in C++ holds the
  28. If class A is friend of class B and if class B is friend of class C, which of the following is…
  29. this' pointer has to be used while accessing data members in a member function.
  30. Scope resolution operator has the highest precedence.