Which of the following is not a difference between a class and a struct?
Classes may have member functions; structs are private.
Because structs are part of the C programming language, there are some complexity between C and C++ structs. This is not the case with classes.
Template type parameters can be declared with classes, but not with the struct keyword. Templates can be used with both classes and structs Refernce
The default access specifier for members of struct is public, whereas for member of class, it is private.