24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers

Embedded C & Firmware interview questions

27 real Embedded C & Firmware questions from the Embedded Systems bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is volatile qualifier?

Junior
  1. A.tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  2. B.file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits
  3. C.combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  4. D.byte order of multi-byte values in memory; little-endian stores the least significant byte first and is used by ARM Cortex-M and x86, while network byte order is big-endian
Reveal the answer + AI explanation — free account

2. Which term means: "tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops"?

Junior
  1. A.Startup code
  2. B.volatile qualifier
  3. C.ISR rules
  4. D.Stack overflow detection
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.volatile qualifier — keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
  2. B.volatile qualifier — combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  3. C.volatile qualifier — file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits
  4. D.volatile qualifier — tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
Reveal the answer + AI explanation — free account

4. What is const volatile?

Junior
  1. A.property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
  2. B.keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
  3. C.combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  4. D.byte order of multi-byte values in memory; little-endian stores the least significant byte first and is used by ARM Cortex-M and x86, while network byte order is big-endian
Reveal the answer + AI explanation — free account

5. Which term means: "combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access"?

Junior
  1. A.const volatile
  2. B.ISR rules
  3. C.volatile qualifier
  4. D.Startup code
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.const volatile — keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
  2. B.const volatile — byte order of multi-byte values in memory; little-endian stores the least significant byte first and is used by ARM Cortex-M and x86, while network byte order is big-endian
  3. C.const volatile — combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  4. D.const volatile — reset handler that copies .data from flash to RAM, zeroes .bss, sets the stack pointer and vector table, initialises clocks and then calls main
Reveal the answer + AI explanation — free account

7. What is Bit manipulation macros?

Junior
  1. A.tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  2. B.property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
  3. C.guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap
  4. D.set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
Reveal the answer + AI explanation — free account

8. Which term means: "set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts"?

Junior
  1. A.Startup code
  2. B.volatile qualifier
  3. C.Reentrancy
  4. D.Bit manipulation macros
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.Bit manipulation macros — property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
  2. B.Bit manipulation macros — set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
  3. C.Bit manipulation macros — combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  4. D.Bit manipulation macros — tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
Reveal the answer + AI explanation — free account

10. What is Endianness?

Junior
  1. A.byte order of multi-byte values in memory; little-endian stores the least significant byte first and is used by ARM Cortex-M and x86, while network byte order is big-endian
  2. B.tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  3. C.guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap
  4. D.property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
Reveal the answer + AI explanation — free account

11. Which term means: "byte order of multi-byte values in memory; little-endian stores the least significant byte first and is used by ARM Cortex-M and x86, while network byte order is big-endian"?

Junior
  1. A.Startup code
  2. B.Endianness
  3. C.const volatile
  4. D.Reentrancy
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.Endianness — combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  2. B.Endianness — byte order of multi-byte values in memory; little-endian stores the least significant byte first and is used by ARM Cortex-M and x86, while network byte order is big-endian
  3. C.Endianness — keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
  4. D.Endianness — set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
Reveal the answer + AI explanation — free account

13. What is ISR rules?

Mid
  1. A.tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  2. B.set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
  3. C.property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
  4. D.keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
Reveal the answer + AI explanation — free account

14. Which term means: "keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry"?

Mid
  1. A.Stack overflow detection
  2. B.ISR rules
  3. C.volatile qualifier
  4. D.Endianness
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.ISR rules — guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap
  2. B.ISR rules — file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits
  3. C.ISR rules — keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
  4. D.ISR rules — property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
Reveal the answer + AI explanation — free account

16. What is Startup code?

Mid
  1. A.set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
  2. B.guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap
  3. C.file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits
  4. D.reset handler that copies .data from flash to RAM, zeroes .bss, sets the stack pointer and vector table, initialises clocks and then calls main
Reveal the answer + AI explanation — free account

17. Which term means: "reset handler that copies .data from flash to RAM, zeroes .bss, sets the stack pointer and vector table, initialises clocks and then calls main"?

Mid
  1. A.Startup code
  2. B.Stack overflow detection
  3. C.const volatile
  4. D.Endianness
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Mid
  1. A.Startup code — set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
  2. B.Startup code — file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits
  3. C.Startup code — combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  4. D.Startup code — reset handler that copies .data from flash to RAM, zeroes .bss, sets the stack pointer and vector table, initialises clocks and then calls main
Reveal the answer + AI explanation — free account

19. What is Linker script?

Mid
  1. A.keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
  2. B.tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  3. C.property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
  4. D.file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits
Reveal the answer + AI explanation — free account

20. Which term means: "file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits"?

Mid
  1. A.Endianness
  2. B.Bit manipulation macros
  3. C.Linker script
  4. D.ISR rules
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.Linker script — file defining memory regions and output sections that places .text in flash and .data/.bss in RAM, exporting symbols the startup code uses for copying and stack limits
  2. B.Linker script — set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
  3. C.Linker script — guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap
  4. D.Linker script — tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
Reveal the answer + AI explanation — free account

22. What is Reentrancy?

Senior
  1. A.byte order of multi-byte values in memory; little-endian stores the least significant byte first and is used by ARM Cortex-M and x86, while network byte order is big-endian
  2. B.combination used for a read-only hardware register such as a status register: firmware must never write it, yet the compiler must re-read it on every access
  3. C.tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  4. D.property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
Reveal the answer + AI explanation — free account

23. Which term means: "property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines"?

Senior
  1. A.ISR rules
  2. B.Reentrancy
  3. C.volatile qualifier
  4. D.const volatile
Reveal the answer + AI explanation — free account

24. Which statement is correct?

Senior
  1. A.Reentrancy — keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
  2. B.Reentrancy — tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  3. C.Reentrancy — property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
  4. D.Reentrancy — reset handler that copies .data from flash to RAM, zeroes .bss, sets the stack pointer and vector table, initialises clocks and then calls main
Reveal the answer + AI explanation — free account

25. What is Stack overflow detection?

Senior
  1. A.set with reg |= (1U << n), clear with reg &= ~(1U << n), toggle with ^=, always using unsigned constants to avoid sign extension and undefined shifts
  2. B.tells the compiler a variable may change outside normal program flow, forcing every access to go to memory, required for hardware registers, ISR-shared flags and busy-wait loops
  3. C.guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap
  4. D.reset handler that copies .data from flash to RAM, zeroes .bss, sets the stack pointer and vector table, initialises clocks and then calls main
Reveal the answer + AI explanation — free account

26. Which term means: "guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap"?

Senior
  1. A.Reentrancy
  2. B.volatile qualifier
  3. C.Stack overflow detection
  4. D.const volatile
Reveal the answer + AI explanation — free account

27. Which statement is correct?

Senior
  1. A.Stack overflow detection — property of a function that can be interrupted and safely called again before it finishes, requiring no static or global mutable state and no calls to non-reentrant library routines
  2. B.Stack overflow detection — reset handler that copies .data from flash to RAM, zeroes .bss, sets the stack pointer and vector table, initialises clocks and then calls main
  3. C.Stack overflow detection — guarding the task stack with a canary pattern, an MPU guard region or high-water-mark measurement, because overflow shows up later as random hard faults or corrupted heap
  4. D.Stack overflow detection — keep handlers short, never block or call malloc and printf, share data through volatile variables or queues, and clear the interrupt flag to prevent immediate re-entry
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a free readiness check

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take the free 2-minute readiness check for a scored result. The full AI mock interview, scored like a real panel, unlocks with Pro.

Practice Embedded C & Firmware free