5 years ago in C++ Functions

Which of the following function / type of function cannot be overloaded?

[A] Member function
[B] Static function
[C] Virtual function
[D] Both B and C
Loading...
Next Question

Overall Stats

Attempted 116
Correct 16
Incorrect 36
Viewed 64

Answers

Guest
Guest
indhuja indhuja
indhuja indhuja - 4 months ago

indhuja indhuja from Erode, India is saying Static function is correct answer

Sarita Nauriya
Sarita Nauriya - 5 months ago

Sarita Nauriya from Hyderabad, India is saying Static function is correct answer

Ramya V
Ramya V - 5 months ago

Ramya V is saying Member function is correct answer

Arjunasor Syiem
Arjunasor Syiem - 7 months ago

Arjunasor Syiem from Shillong, India is saying Member function is correct answer

pavithra p
pavithra p - 8 months ago

pavithra p from Bengaluru, India is saying Virtual function is correct answer

Related Questions

A friend function can be used to ?

  • [A] avoid arguments between classes
  • [B] allow access to classes whose source code is unavailable
  • [C] allow one class to access an unrelated class
  • [D] increase the versatility of an overloaded operator

Static Member function

  • [A] can access any other member function & member variables
  • [B] can access only static member variables & member functions
  • [C] can be only called through object of the class
  • [D] Returns only static data

Dividing a program into functions

  • [A] is the key to object oriented programming
  • [B] makes the program easier to conceptualize
  • [C] makes the program run faster
  • [D] both (B) and (C)

Which of the following parameter passing mechanism is/are supported by C++ but not in C?

  • [A] Pass by value
  • [B] Pass by reference
  • [C] Pass by value result
  • [D] All of the above

The library function exit() causes an exit from ?

  • [A] The loop in which it occurs
  • [B] The block in which it occurs
  • [C] The function in which it occurs
  • [D] The program in which it occurs