Hello World Program in c
Code:
#include<stdio.h> //preprocessor directive including header file
int main() // main function called by system
{
printf("\n Hello World); // function to print output
getch(); //unformated function waiting for user input
return 0; // returns value 0 if no error or return 1 if any error occurs
}
Code:
#include<stdio.h> //preprocessor directive including header file
int main() // main function called by system
{
printf("\n Hello World); // function to print output
getch(); //unformated function waiting for user input
return 0; // returns value 0 if no error or return 1 if any error occurs
}
No comments :
Post a Comment