adplus-dvertising
frame-decoration

Question

What is the term used to indicate the variable and constants of a class?

a.

Data members

b.

Variables of class

c.

Data characters

d.

Constants

Answer: (a).Data members

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the term used to indicate the variable and constants of a class?

Similar Questions

Discover Related MCQs

Q. Data members ________________ (C++)

Q. Which among the following is true for data members?

Q. What should be done for data member to be of user defined structure type?

Q. How many data members can a class contain?

Q. How to access data members of a class?

Q. To create a pointer to a private data member of a class, outside the class, which among the following is correct?

Q. Which among the following is true for use of setter() and getter() function?

Q. The static member functions can only use ________

Q. A class can have self-referential data members.

Q. What is the keyword used to make data members have same value?

Q. Which data members can be inherited but are private to a class?

Q. The arguments passed to member functions by reference are considered as data members of class.

Q. Which among the following is not allowed for data member declaration?

Q. Which among the following best describes member functions?

Q. How many types of member functions are generally there in C++?

Q. How can a static member function be called in main function?

Q. What are inline member functions?

Q. What happens if non static members are used in static member function?

Q. Static member functions _____________

Q. How to access members of the class inside a member function?