putchar() function in C
The putchar(int char) method in C is used to write a character, of unsigned char type, to stdout. This character is passed as the parameter to this method.
int putchar(int char)
Parameters: This method accepts a mandatory parameter char which is the character to be written to stdout.
Return Value: This function returns the character written on the stdout as an unsigned char. It also returns EOF when some error occurs.
Below examples illustrate the use of putchar() method:
My Personal Notes arrow_drop_up
Please Login to comment...