1.

Why does every compilation of a source code in Arduino check for previous compilations?(a) To delete the previously generated “.o” files(b) To use the previously generated “.o” files(c) To relocate the previously generated “.o” files(d) To copy the previously generated “.o” filesI had been asked this question in exam.This question is from Compilation topic in section Arduino Programming of Arduino

Answer»

The correct answer is (b) To use the previously generated “.o” files

The explanation is: During the compilation PROCESS, the Arduino compiler before compilation SEARCHES for previously generated “.o” files in the DIRECTORY, to make the compilation process faster in some cases. This reduces the redundancy of compiling the same PARTS of the code REPEATEDLY.



Discussion

No Comment Found

Related InterviewSolutions