Here are two simple questions for Embedded C beginners. One can provide answer in comment box. You can also share interesting questions. We will publish all good questions along with name of the provider.
These questions are simple but many students couldn’t answer properly during interview.
Q1: There is a global variable name count . This variable will always be in between 0 and 199.
If you have very limited MCU data memory , how will you define this ? Make sure to use only standard C keywords.
Q2: Define I/O port P of same data width which you used in Q1.