NVIDIA Interview Question

Linux kernel 1. Memory allocation and management 2. Thread creation and usage, 3. Debugger. Difference between h/w and s/w break point 4. ISR bottom half and top half C questions. 1. Volatile variable and usage. 2. Static variable and usage.

Interview Answer

Anonymous

Feb 11, 2021

Volatile var and usage: To prevent compiler optimisation so that temporary value is not used from registers. Static var and usage: For scoping var to the file and preserving value in different function calls