1.

What is the purpose of the pow(x,y) function?(a) To find x^y(b) To find y^x(c) To find e^x(d) To find 10^yI have been asked this question in my homework.This interesting question is from Mathematical Functions in section Arduino Programming of Arduino

Answer»

Right choice is (a) To find x^y

To explain: The pow() function is used to find the value of a number RAISED to another number. It takes two arguments; the BASE, and the EXPONENT. The input datatypes are of the FLOAT datatype and the output is of the double datatype.



Discussion

No Comment Found

Related InterviewSolutions