1.

What is the return type of the front() function?(a) char(b) int(c) long(d) shortThis question was posed to me during an interview for a job.This is a very interesting question from String Manipulation in section Arduino Programming of Arduino

Answer»

Correct ANSWER is (a) char

Explanation: The front() function RETURNS a character from the string GIVEN as input. It takes in no arguments. It returns the first character that is present in the string. It can be used as “cout<



Discussion

No Comment Found

Related InterviewSolutions