Question Detail

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

  • Calloc
  • Malloc
  • Sizeof
  • Realloc
Similar Questions :

1. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File

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

  • free
  • void
  • empty
  • null

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

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

4. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

5. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above
Read more from - C++ Programming Questions Answers - Set 2