Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Programming and Data Structure Programming in C
Which of the following statements is true in C++?
1
A struct cannot have member functions
2
A struct cannot have private members
3
The default access modifier of struct is public
4
None of these