In c++ programming for the access specifiers ,
Can I write
Protected: int a , b;
Or is it mandatory to write like
Protected:
int a,b;
That is can I write protected data members in the same line or should I have to write it in the nextline
Pls answer with explanation I will mark as brainliest and giving 40 points
Answers
Answered by
0
Answer:
u can write it in same line
Explanation:
but it is mandatory to write its datatype
for more clearance please compile it on a compiler, u will learn fast from that .
i hope it will help uh!
Similar questions