In the C Programming Language, the putchar function writes a character to the stdout stream.
Syntax
The syntax for the putchar function in the C Language is:
int putchar(int c);
Returns
The putchar feature returns the persona written. If an error occurs, the putchar feature will set the stdout’s error indicator and return EOF
Required Header
In the C Language, the required header for the putchar function is:
#include <stdio.h>
Applies To
In the C Language, the putchar function can be used in the following versions:
ANSI/ISO 9899-1990
Similar Functions
Other C functions that are comparable to the putchar function:
fputc function <stdio.h>
putc function <stdio.h>
See Also
Other C functions that are noteworthy when dealing with the putchar function:
fgetc function getc function getchar feature
Leave a Review