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

Khang Lê

New member
The arguments passed to member functions by reference are considered as data members of class.
A. True
B. False
 
Answer: b
Explanation: This is a wrong statement. As only the data defined inside class is considered as its member. But even if a variable is passed by reference it would be the same variable that is outside the class. Hence it can’t be considered class member.
 

Tìm kiếm

Back
Top