What does printf return?

后端 未结 4 1208
别那么骄傲
别那么骄傲 2020-12-01 21:18

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 funct

4条回答
  •  醉话见心
    2020-12-01 21:30

    printf()'s reference from MSDN:

    Returns the number of characters printed, or a negative value if an error occurs.

提交回复
热议问题