Computer Science, asked by Hasnain8676, 1 year ago

What is default access specifier of struct and class in c++?

Answers

Answered by vaibhavkr4337
0
For a struct, it is public in default, while for a class, it is private in default.

HOPE MY ANSWER HELPS :)
Similar questions