Your question is Const Pointer Qualifier Differences. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
In embedded C work on NXP Semiconductors platforms such as the MCUXpresso SDK, pointer qualifiers affect API safety, register access, and compiler-enforced correctness. Interviewers use this topic to check whether you can read declarations precisely and reason about mutability.
Explain the difference between a pointer to a constant and a constant pointer in C.
Address these points:
const int *p, int *const p, and const int *const p?Give a clear C-focused explanation, not a generic language-level answer. The interviewer expects you to discuss declaration reading order, valid and invalid operations, and practical usage in firmware or driver code. Small code examples are enough; no long implementation is needed.