7 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 93
Correct 12
Incorrect 27
Viewed 54

Answers

Guest
Guest
Blank OP
Blank OP - 4 years ago

Blank OP from Bacolod City, Philippines is saying Global variables, static variables is correct answer

swathi
swathi - 4 years ago

swathi from Chennai, India is saying Non static variables, static variables is correct answer

Rohan Bhosale
Rohan Bhosale - 4 years ago

Rohan Bhosale from Pune, India is saying Static variables, register variables is correct answer

Neyah Deshmukh
Neyah Deshmukh - 4 years ago

Neyah Deshmukh from India is saying Non static variables, static variables is correct answer

Muhammad Asghar
Muhammad Asghar - 4 years ago

Muhammad Asghar from Vehari, Pakistan is saying Static variables, non static 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

The public files in a class library usually contain ?

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

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

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