Pergunta de entrevista da empresa MathWorks

Calloc and malloc differences string and string buffer differences jdk , jre, jvm some code snippets in c and cpp can we define functions inside structures what is critical section