Home

Static data member can be declared as const too.

A. True

B. False

You can do it
  1. The members of a class by default are private.
  2. ios containes a pointer to streambuf.
  3. _______ argument(s) are passed in case of binary overloaded operators.
  4. Dynamic memory can be allocated by the following declaration
  5. A normal C++ operator that acts in a special way on newly defined data types is said to be
  6. What is the output of the following program segment - for(i = 1, j = 0; i < 10; i++) j += i; cout…
  7. Objects get destroyed in the reverse order as they are created.
  8. In C++, the stream base class is
  9. Class is similar to a variable.
  10. In a for loop with a multi-statement loop body, semicolons should appear following
  11. The scope resolution operator is -
  12. this' pointer has to be used while accessing data members in a member function.
  13. When one object initializes another object the following function is invoked
  14. The following syntax is valid. void inline gram_ panchayat :: show_gram_ panchayat_info().
  15. A member function can always access the data
  16. Which of the following are good reasons to use an object oriented language?
  17. The new operator always returns a void pointer.
  18. A base class is inherited by
  19. It is possible to allow non member function access to private members of a class by declaring it as
  20. In C++, identifiers have to be declared at the beginning of the blocks.
  21. A direct access file is:
  22. Inline function specifier reduces the overheads associated with a normal function call.
  23. Private data members can be accessed
  24. One of the important features of an abstract class is
  25. A function that is called automatically when an object is destroyed is known as
  26. In case of nested class, enclosing class can directly access the private data member of nested class.
  27. A destructor can have arguments like constructor.
  28. We cannot have the address of a constructor.
  29. Scope resolution operator has the highest precedence.
  30. The member of a structure can be accessed through a pointer by