1.

What is the return type of the delayMicroseconds() function?(a) Unsigned Int(b) Signed Int(c) Unsigned Long(d) Signed LongThis question was addressed to me by my school principal while I was bunking the class.Asked question is from Time Functions in section Arduino Programming of Arduino

Answer»

Correct OPTION is (a) UNSIGNED Int

The best explanation: The delayMicroseconds() function delays or pauses program execution for a certain AMOUNT of time. The return TYPE here is unsigned int, which means basically a number of the int DATATYPE without any plus or minus signs. This number here is denoted by microseconds.



Discussion

No Comment Found

Related InterviewSolutions