Question
a.
With declaration inside class and with definition outside the class
b.
With declaration inside class and not with definition outside the class
c.
With declaration and definition wherever done
d.
With each call to the member function
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. The keyword static is used _______________
Similar Questions
Discover Related MCQs
Q. Which keyword should be used to declare the static member functions?
View solution
Q. The static member functions _______________
View solution
Q. Which among the following is true ?
View solution
Q. The static members are ______________________
View solution
Q. Which among the following is true ?
View solution
Q. Which among the following is not applicable for the static member functions?
View solution
Q. Which is correct syntax to access the static member functions with class name?
View solution
Q. The static member functions ____________________
View solution
Q. The static member functions __________________
View solution
Q. Which among the following is correct definition for static member functions?
View solution
Q. Which among the following is wrong syntax related to static data members?
View solution
Q. If object of class are created, then the static data members can be accessed ____________
View solution
Q. Whenever any static data member is declared in a class ______________________
View solution
Q. Which data members among the following are static by default?
View solution
Q. Which among the following is correct syntax to access static data member without using member function?
View solution
Q. The static data member __________________________
View solution
Q. If static data members have to be used inside a class, those member functions _______________
View solution
Q. The syntax for defining the static data members is:
View solution
Q. The static data member ______________________
View solution
Q. Which is the correct syntax for declaring static data member?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!