Question Detail

Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc
Similar Questions :

1. What is data hiding ?

  • It is related with hiding internal object details
  • It is related with showing internal object details
  • It is related with datatypes
  • None of above

2. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

3. The function used to define the task assigned to an operator is ?

  • Virtual function
  • Static function
  • Operator function
  • Friend function

4. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared

5. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null
Read more from - C++ Programming Questions Answers - Set 2