|
|
||||
|
|
putchar()Prototype: int putchar(int achar);Header File: stdio.h (C) or cstdio (C++) Explanation: Putchar writes the character corresponding to the ASCII value of achar to stdout, which is usually the monitor. It returns achar.
#include <cstdio>
using namespace std;
//Example outputs the character corresponding to the ASCII value 65
int main()
{
putchar(65);
}
Other Functions
----- |
|
||