1.

Which is most appropriate comment on following class definition Class student { int a; public: float a; };

Answer»

ong>Answer:

Discussion Forum

Que. Which is most APPROPRIATE comment on following class definition : class Student { int a; public : FLOAT a; };

b. Error : Public must COME first

c. Error : data types are different for same variable

d. It is correct

Answer:Error : same variable name can't be used twice



Discussion

No Comment Found