1.

What is the math function to find out the maximum of 2 numbers?(a) The maximumOf() function(b) The maximum_number() function(c) The max() function(d) The m() functionThe question was asked during a job interview.Asked question is from Mathematical Functions topic in section Arduino Programming of Arduino

Answer»

Right answer is (C) The max() FUNCTION

To explain: The max() function takes in 2 arguments and outputs only 1 NUMBER. This function finds out the MAXIMUM of the 2 numbers that are ENTERED as arguments to the function. This function is essential in sorting techniques.



Discussion

No Comment Found

Related InterviewSolutions