Synopsis
#include <stdio.h> int putchar(int ch);
Description
putchar writes the ch character to stdout.
On success, ch is returned. EOF is returned if an error occurred.
Examples
#include <stdio.h>
int main()
{
putchar('H');
putchar('e');
putchar('l');
putchar('l');
putchar('o');
putchar('\n');
return 0;
}
This will simply print "Hello", followed by line feed, to stdout.