Which of the following is true about const member functions?

A. const members can be invoked on both const as well as nonconst objects

B. const members can be invoked only on const objects and not on nonconst objects

C. nonconst members can be invoked on const objects as well as nonconst objects

D. none of the above

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. "[]" Operator is a unary operator.
  2. Which of the following can legitimately be passed to a function?
  3. Constructor returns void type value.
  4. A direct access file is:
  5. A pure virtual function is a virtual function that has
  6. main() returns a value of type
  7. Private data members can be accessed
  8. The value of 'this' pointer can be changed.
  9. Static data member occurs in only class scope.
  10. One of the major disadvantage with late binding is
  11. In C++, the exception handler is invoked with a-
  12. When you overload an arithmetic assignment operator, the result
  13. Pick out the most appropriate statement
  14. A function that is called automatically when an object is destroyed is known as
  15. The declaration int **var1; shows that
  16. ios containes a pointer to streambuf.
  17. Pick out the most appropriate statement from the following
  18. Protected data members can be accessed
  19. A destructor can have arguments like constructor.
  20. :: is known as
  21. _______ argument(s) are passed in case of binary overloaded operators.
  22. The signature of a function is
  23. A destructor can have a return type.
  24. Reference to an object behaves like a constant pointer.
  25. The exception is processed using
  26. In C++, an identifier must be initialized using constant expression.
  27. It is possible to allow non member function access to private members of a class by declaring it as
  28. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  29. The characteristic that data can be manipulated only through member functions that are part of the class…
  30. In a for loop with a multi-statement loop body, semicolons should appear following