Pergunta de entrevista da empresa NVIDIA

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

Resposta da entrevista

Sigiloso

10 de dez. de 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.).