6 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

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


Overall Stats

Attempted 364
Correct 51
Incorrect 64
Viewed 249

Answers

Guest
Guest
18EJCEC035_Astha Goyal
18EJCEC035_Astha Goyal - 5 months ago

18EJCEC035_Astha Goyal is saying Static variables, non static variables is correct answer

Hiccup Haddock
Hiccup Haddock - 6 months ago

Hiccup Haddock is saying Static variables, non static variables is correct answer

Zameet Sabir
Zameet Sabir - 6 months ago

Zameet Sabir from Karachi, Pakistan is saying Static variables, non static variables is correct answer

Hagger Sayed
Hagger Sayed - 7 months ago

Hagger Sayed from Cairo, Egypt is saying Static variables, non static variables is correct answer

SAURABH SHARMA LJMekpPXhB
SAURABH SHARMA LJMekpPXhB - 7 months ago

SAURABH SHARMA LJMekpPXhB is saying Global variables, static variables is correct answer

Related Questions

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

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

Which of the following is false?

  • [A] Variable has scope & visibility
  • [B] Variables having scope may not be visible
  • [C] Variables having visibility may not have scope
  • [D] None of these