Today in my interview, the interviewer asked: printf is a function and every function returns something; int, void, float, etc. Now what does printf return as it’s a function?
Today in my interview, the interviewer asked: printf is a function and every function
Share
int. On success, the total number of characters written is returned.On failure, a negative number is returned.
See reference here