Oracle interview question

Simple C questions static variable volatile variable etc global and stack & heap difference