Views: 218
[js]
#include <stdio.h> // This line includes stdio (C standard library for input and output functions)
// main function definition. At least one main function is required in every C program
// All C programs start execution from main function
// Here int means that main function will return an integer number, void means that this
// main function doesn’t accept any input arguments
int main(void){
printf("Hello World!"); // printf function is used to output some text on screen
return 0; // return value of main function
}
[/js]





Leave a Reply to raja m usman Cancel reply