[Solved] what is the return type of printf [closed]


The function fun() is returning an int, you are just not assigning it to anything. So the return value is being discarded as it is not assigned to anything.

printf by the way, is not a void function but returns the number of characters printed, which is 5 in case of “Hello”.

1

solved what is the return type of printf [closed]