App Logo

No.1 PSC Learning App

1M+ Downloads
Which of the following can be overloaded?

AVariable

BObjects

CClass

DFunction

Answer:

D. Function

Read Explanation:

  1. Both functions and operators can be overloaded.
  2. C++/JAVA allows you to one definition for a function name or an operator in the same scope, which is called function overloading and operator overloading respectively.

Related Questions:

A terminal node in a binary tree is called :
MDI stands for:

Which of the following statement is /are correct about member functions in a C++ Class?

(i)A member function is defined only outside the class

(ii)A member function with the same name as its class is called a constructor

(iii)A member function operate on class data

The symbols used in assembly language are
ASCII stands for :