1.

How many parameters does the flush() function accept?(a) 0(b) 1(c) 2(d) 4I got this question in quiz.I'm obligated to ask this question of Serial and Stream Communications topic in chapter Arduino Programming of Arduino

Answer»

Right ANSWER is (a) 0

Best explanation: The flush() function is a member of the stream CLASS. The function exists to clear every character that is stored in the buffer. It accepts no ARGUMENTS since it clears the entire buffer unconditionally on being INVOKED, so no parameters are required to carry out this operation.



Discussion

No Comment Found

Related InterviewSolutions