1.

Which header file contains the PROGMEM Utility?(a) The avr/pgmspace.h header file(b) The pmspace.h header file(c) The avr/pspace.h header file(d) The avr/progmem.h header fileI got this question in quiz.My question is taken from PROGMEM Utility topic in section Arduino Programming of Arduino

Answer»

Right option is (a) The avr/pgmspace.h header FILE

The explanation: The PROGMEM Utility is contained WITHIN the avr/pgmspace.h header file and this file is to be INVOKED WHENEVER a programmer needs to use the PROGMEM Utility for his or her program. However, while using the data stored in the FLASH memory one also needs to use certain functions defined within the header file to retrieve the data.



Discussion

No Comment Found

Related InterviewSolutions