download Mastguru Android App

Question Detail

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

  • Virtual function
  • Static function
  • Operator function
  • Friend function
Similar Questions :

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

  • free
  • void
  • empty
  • null

2. An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual

3. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

4. int *ptr[5];

  • a pointer of 5 int elements
  • an array of 5 int pointers
  • an array of 5 elements returning an int value
  • none of above

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

  • Calloc
  • Malloc
  • Sizeof
  • Realloc
Read more from - C++ Programming Questions Answers - Set 2
Post a comment