ProAnswers.org

what is the difference between C structure and C++ structure?

1 Like

In C structure

there is no access specifiers and Can not have functions.

But in C++

somebody can specify data and functions as public Private or protected.

In C++ structure Private is adefault access specifier