Question d’entretien chez NVIDIA

Difference between a Struct and a Class in C++.

Réponse à la question d'entretien

Utilisateur anonyme

10 déc. 2016

Was specific in how the memory is laid out for both with regard to members and member functions. Commented on default privacy of fields, etc. Added comment on difference between structs in c vs. c++ (struct namespace, tendency to use typedefs more in C for name resolution, etc.).