5 years ago in C++ Classes And Objects

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

Overall Stats

Attempted 230
Correct 58
Incorrect 68
Viewed 104

Answers

Guest
Guest
RUBY MOHAN
RUBY MOHAN - 15 hours ago

RUBY MOHAN is saying Constant member functions is correct answer

esraa nashat
esraa nashat - 1 day ago

esraa nashat from Cairo, Egypt is saying Constant member functions is correct answer

Abdul Haseeb Shershahabadi
Abdul Haseeb Shershahabadi - 1 month ago

Abdul Haseeb Shershahabadi from Birpur, India is saying Constant member functions is correct answer

Saurabh Chauhan
Saurabh Chauhan - 1 month ago

Saurabh Chauhan is saying Constant member functions is correct answer

Deep
Deep - 1 month ago

Deep from Kolkata, India is saying Private member functions is correct answer

Related Questions

The public files in a class library usually contain ?

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

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

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