Hello World   C


Summary

Print 'Hello World!' text.


Requirements

none.


#include <stdio.h>
int main(int argc, char * argv[])
{
    printf("Hello World!\n");
    return 0;
}

the 'printf()' function will print out the 'Hello World!'.
'\n' is new line character.
return 0 is exit code 0. this mean is the program is done successfully.


Result

Hello World!

Tags

#cout  #echo  #helloworld  #printf 


[ Edit (Author only) ]