1.

What is the function of the readBytesUntil() function?(a) Reads only integers from a stream(b) Reads any characters from a stream(c) Reads only special characters from a stream(d) Tokenizes a string from a streamThe question was asked in an interview.This key question is from Serial and Stream Communications in section Arduino Programming of Arduino

Answer» CORRECT choice is (b) READS any characters from a stream

Easy explanation: The readBytesUntil() function belongs to the Stream class. It is USED for reading any characters from a stream. The function continues to read characters entered until the termination character is found. It then puts all the collected DATA into a buffer.


Discussion

No Comment Found

Related InterviewSolutions