1.

Can external generic C/C++ libraries be imported to the Arduino IDE and used in the code?(a) Yes, external C/C++ libraries can be used with the Arduino code(b) No, no external libraies can be imported to the Arduino code(c) Yes, but only libraries that are approved by the company can be used(d) Yes, but the libraries must be written in Arduino Code onlyI got this question in an online interview.This is a very interesting question from Programming topic in portion Arduino Programming of Arduino

Answer»

The correct choice is (a) YES, external C/C++ libraries can be used with the Arduino code

The EXPLANATION is: Since the Arduino Language is a subset of the C++ programming language, any existing C/C++ library can be used for IMPORTING into an Arduino code. There is no RESTRICTION on the USE of external libraries since most of the Arduino ecosystem is Open-Source.



Discussion

No Comment Found

Related InterviewSolutions