Summary
Full Transcript
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Lesson Description: In this lesson I explain a common interview question I would get for C++ positions -- what is the difference between a struct and a class? It's probably a good question for you to warm up with, and the difference itself is only one thing related to the default access level of member functions and member variables. That said, by convention folks will often use 'structs' to match what they are in C--plain old data types (PODs) that just hold fields. It may be important for you when working as an engineer to observe the convention used in your companies codebase. ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel!
