prints Hello on standard output : Console Output String « Console « C / ANSI-C






prints Hello on standard output

       
#include <stdio.h>

main() {
    printf("Hello \n");
}


           
       








Related examples in the same category

1.Displaying a string
2.Displaying a Quotation: the main function
3.Print the string in the reverse order
4.Read and output string
5.Output string to console
6.A simple example for printf
7. Output a string to stdout: how to use puts