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

Overall Stats

Attempted 326
Correct 47
Incorrect 64
Viewed 215

Answers

Guest
Guest
SAURABH SHARMA LJMekpPXhB
SAURABH SHARMA LJMekpPXhB - 2 days ago

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

Runjhun Mathur
Runjhun Mathur - 2 months ago

Runjhun Mathur from Delhi, India is saying Static variables, non static variables is correct answer

Amrit Soni
Amrit Soni - 2 months ago

Amrit Soni is saying Global variables, static variables is correct answer

Pranav Khairnar
Pranav Khairnar - 2 months ago

Pranav Khairnar is saying Global variables, static variables is correct answer

ABDULLAH AL SOWADI
ABDULLAH AL SOWADI - 2 months ago

ABDULLAH AL SOWADI is saying Global variables, static variables 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

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

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

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

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