Home

Delete operator is used

A. To allocate storage

B. To deallocate storage

C. To delete variable name

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. What is the output of the following program segment - for(i = 1, j = 0; i < 10; i++) j += i; cout…
  2. Private data members can be accessed
  3. If class A is friend of class B and if class B is friend of class C, which of the following is…
  4. Private members of a structure can be accessed directly from the outside of the structure.
  5. Pick out the most appropriate statement from the following
  6. Protected members cannot be inherited.
  7. A destructor can have arguments like constructor.
  8. Static member functions have file scope.
  9. Which of the following is true about const member functions?
  10. Constructor returns void type value.
  11. this' pointer has to be used while accessing data members in a member function.
  12. Classes are useful because they
  13. A destructor can have a return type.
  14. Protected data members can be accessed
  15. In a class, only the member function can access data, which is not accessible to outside. This feature…
  16. Class members are _______________ by default
  17. Data objects can be initialized when allocating memory using 'new'.
  18. When one object initializes another object the following function is invoked
  19. Friend function have access to the
  20. Which of the following are good reasons to use an object oriented language?
  21. A base class is inherited by
  22. Sharing of common information are achieved by the concept of
  23. A class that contains at least one pure virtual function is called as
  24. The signature of a function is
  25. Dynamic memory can be allocated by the following declaration
  26. By default, members cannot be inherited.
  27. The member of a structure can be directly accessed by
  28. Pick out the most appropriate statement
  29. The ?: can be used to replace
  30. In C++, identifiers have to be declared at the beginning of the blocks.