QSC interview question

file operations, socket, structure padding, oops concepts