// C program to demonstrate putchar() method #include <stdio.h> int main() { // Get the character to be written char ch = 'G'; // Write the Character to stdout putchar(ch); }