Challenger App

No.1 PSC Learning App

1M+ Downloads

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

Ai Only

Bi and ii only

Cii and iii only

Diii only

Answer:

C. ii and iii only

Read Explanation:

member functions in a C++ Class 1.A member function with the same name as its class is called a constructor 2.A member function operate on class data


Related Questions:

Herder node is used as sentinel in :
ജാവയുടെ ആദ്യത്തെ പേരെന്താണ് ?
By default a real number is treated as a :
Which of the following classes in Java does not generate item events?
_______ ന്റെ ചിത്ര ആവിഷ്‌കാരണമാണ് ഫ്ളോചാർട്ട് .