5 years ago in C++ Classes And Objects

Objects of the same class share the values of ...... while they maintain separate values for ........ .

[A] Static variables, non static variables
[B] Non static variables, static variables
[C] Global variables, static variables
[D] Static variables, register variables
Loading...
Next Question

Overall Stats

Attempted 194
Correct 40
Incorrect 57
Viewed 97

Answers

Guest
Guest
esraa nashat
esraa nashat - 1 day ago

esraa nashat from Cairo, Egypt is saying Global variables, static variables is correct answer

deadpool
deadpool - 2 weeks ago

deadpool is saying Static variables, non static variables is correct answer

Abdul Haseeb Shershahabadi
Abdul Haseeb Shershahabadi - 1 month ago

Abdul Haseeb Shershahabadi from Birpur, India is saying Global variables, static variables is correct answer

Deep
Deep - 1 month ago

Deep from Kolkata, India is saying Global variables, static variables is correct answer

Akash Kumar
Akash Kumar - 1 month ago

Akash Kumar is saying Static variables, register variables is correct answer

Related Questions

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

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

A class cannot be ?

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

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