Basic Output
christian.dinh2476 total contributions
Published Aug 24, 2021Updated Oct 28, 2022
Contribute to Docs
In the C language, basic console output is achieved using functions from the “standard input output” header file (stdio.h
).
Header File
C itself has no ability to output any information. In order to so, the stdio.h
header file must be included in the program, which commonly happens at the top of the file:
#include <stdio.h>
Once this is done, the functions included in it can be used.
Basic Output
- printf()
- Print a string in the console.
- putchar()
- Print a char in the console.
- puts()
- Print a string in the console.
All contributors
- christian.dinh2476 total contributions
- Anonymous contributorAnonymous contributor3071 total contributions
- Anonymous contributorAnonymous contributor4 total contributions
- Anonymous contributorAnonymous contributor24 total contributions
- christian.dinh
- Anonymous contributor
- Anonymous contributor
- Anonymous contributor
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.