Embedded C Interview Questions
Embedded C Interview Questions (For more details Click here) 1) What is void pointer and what is its use? The void pointer means that it points to a variable that can be of any type. Other pointers points to a specific type of variable while void pointer is a somewhat generic pointer and can be pointed to any data type, be it standard data type(int, char etc) or user define data type (structure, union etc.). We can pass any kind of pointer and reference it as a void pointer. But to deference it, we have to type the void pointer to correct data type. 2) What is ISR? An ISR(Interrupt Service Routine) is an interrupt handler, a callback subroutine which is called when a interrupt is encountered. 3) What is return type of ISR? ISR does not return anything. An ISR returns nothing because there is no caller in the code to read the returned values 4) What is interrupt latency? Interrupt latency is the time required for an ISR respond...
Comments
Post a Comment