Which of the following specifier is used to restrict the use of class member within class as well as outside the class?
a) public
b) private
c) protected
d) final
Which of the following keyword is used for creating object?
a) method
b) class
c) function
d) object
Which of the following operator is used for accessing function of class through object?
a) insertion operation (>>)
b) extraction operator (<<)
c) dot operator (.)
d) and operator (&)
How many items are used in defining member function outside the class?
a) one
b) three
c) five
d) seven
Explanation: return-type, class-name, scope operator (::), function-name, function-body
Which function is used to fill the array with values?
a) display ()
b) fill ()
c) max ()
d) min ()
Which function is used to display the values of array?
a) display ()
b) fill ()
c) max ()
d) min ()