The keyword struct and class differ in c++ context –

1
struct is used in C whereas class in used in C++
2
struct cannot have member functions where as a class can have
3
struct has default public, class has default private
4
All of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation