Computer Science, asked by ashwin603109, 1 year ago

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






Answers

Answered by banuvarshith58
0

the first one frnd

with protected data members..

Answered by ABHISHEK851101
7

Answer:

first one friend with protected data members

Similar questions