1.

What is the maximum number of arguments does the find() function accept?(a) 1(b) 2(c) 3(d) 4The question was posed to me at a job interview.My doubt is from Serial and Stream Communications topic in division Arduino Programming of Arduino

Answer» CORRECT answer is (b) 2

For explanation I WOULD say: The find() function accepts a maximum of 2 PARAMETERS; the target which can be a set of CHARACTERS, and the length of the target which denotes the lexical length of the target. This function then searches for the target throughout the stream and returns a Boolean True if a match is found, otherwise a Boolean False if the target is not found.


Discussion

No Comment Found

Related InterviewSolutions