1.

What is the math function to find out the minimum of 2 numbers?(a) The min() function(b) The minimum_number() function(c) The m() function(d) The minimumOf() functionThe question was posed to me in an interview for internship.My question is taken from Mathematical Functions in division Arduino Programming of Arduino

Answer»

Right answer is (a) The min() function

Explanation: The min() function takes in 2 arguments and outputs only 1 NUMBER. This function finds out the minimum 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