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

And pls give an example of the syntax in the program pls pls then only my heart will be satisfied

Answers

Answered by rachitpatekar777
0

Answer:

yes

Explanation:

Similar questions