putchar()
The putchar()
, or “put character”, function prints a single character to stdout
(normally the console).
Syntax
putchar(char)
The putchar()
takes a single char
as an argument and prints it.
Example
#include <stdio.h>int main(void) {putchar('a');return 0;}
The output would be:
a
Contributors
- Anonymous contributor