6 years ago in C++ Classes And Objects

In C++, a function contained within the class is called ?

[A] member function
[B] a class function
[C] a method
[D] none of above
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!

Overall Stats

Attempted 99
Correct 34
Incorrect 17
Viewed 48


haile feleke - 3 years ago

variable with a class:data member

Mohand Amr
Mohand Amr - 11 hours ago

Mohand Amr is saying member function is correct answer

Blank OP
Blank OP - 4 years ago

Blank OP from Bacolod City, Philippines is saying a class function is correct answer

swathi - 4 years ago

swathi from Chennai, India is saying member function is correct answer

Rohan Bhosale
Rohan Bhosale - 4 years ago

Rohan Bhosale from Pune, India is saying member function is correct answer

Related Questions

A class cannot be ?

  • [A] Virtual
  • [B] Generic
  • [C] Inline
  • [D] Friend

Shallow copy is

  • [A] Member wise copying of objects
  • [B] A substitute for the operator
  • [C] Same kind like deep copy
  • [D] Used in constructor

classes are useful because they

  • [A] are removed from memory when not in use
  • [B] permit data to be hidden from other classes
  • [C] bring together all aspects of an entity in one place
  • [D] can closely model objects in the real world

The public files in a class library usually contain ?

  • [A] Constant definitions
  • [B] member function definitions
  • [C] class declarations
  • [D] variable definition