Sollicitatievraag bij NVIDIA

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

Antwoord op sollicitatievraag

Anoniem

10 dec 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.).