1.

What is the maximum number of arguments for the map() function?(a) 1(b) 3(c) 5(d) 7The question was asked in a job interview.This is a very interesting question from Mathematical Functions topic in division Arduino Programming of Arduino

Answer»

Correct OPTION is (c) 5

Easiest explanation: The map() function is used to map a NUMBER from one number set to another number set. It takes THREE arguments; the number to be mapped, the LOWEST number of the source number set, the highest number of the source number set, the lowest number of the destination number set, the highest number of the destination number set.



Discussion

No Comment Found

Related InterviewSolutions