7 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
Loading...
Next Question

Overall Stats

Attempted 100
Correct 35
Incorrect 17
Viewed 48

Answers

Guest
Guest
haile feleke - 4 years ago

variable with a class:data member

Tassino Gh
Tassino Gh - 4 months ago

Tassino Gh from Cairo, Egypt is saying member function is correct answer

Mohand Amr
Mohand Amr - 4 months 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
swathi - 4 years ago

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

Related Questions

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

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

Which member function of class cannot modify its objects attributes ?

  • [A] friend functions
  • [B] Private member functions
  • [C] Constant member functions
  • [D] Static member functions