Home

new operator is used

A. To dynamically allocate storage

B. To statically allocate storage

C. To allocate storage for a new variable

D. None of the above are correct

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

You can do it
  1. Which of the following relationship is known as inheritancerelationship?
  2. The scope resolution operator is -
  3. A destructor can have a return type.
  4. A direct access file is:
  5. Static member functions have file scope.
  6. The && and || operators
  7. Operator overloading is
  8. A member function can always access the data
  9. Pick out the most appropriate statement from the following
  10. The template function declaration specifies
  11. In C++, identifiers have to be declared at the beginning of the blocks.
  12. The new operator always returns a void pointer.
  13. A destructor can have arguments like constructor.
  14. In C++, the keyword auto can be used for
  15. The binding that binds a function call at run time is called
  16. In C++, the stream base class is
  17. One of the important features of an abstract class is
  18. We cannot have the address of a constructor.
  19. Organizing data with methods that operate on the data and creating a new data type is called encapsulation.
  20. The characteristic that data can be manipulated only through member functions that are part of the class…
  21. What is the value of Friday in the following - enum days { Monday, Tuesday, Wednesday = -1, Thursday,…
  22. Dynamic memory can be allocated by the following declaration
  23. "[]" Operator is a unary operator.
  24. Reference to an object behaves like a constant pointer.
  25. A function that is called automatically when an object is destroyed is known as
  26. By using protected, one can create class members that are private to their class but
  27. An object is an allocated space in memory.
  28. If class A is friend of class B and if class B is friend of class C, which of the following is…
  29. ios containes a pointer to streambuf.
  30. If a friend function is declared inside a class it can access all data members of the class.