🌙

C Basic Program

#inlcude <stdio.h>
int main(){
    printf("Hello World");
return 0;
}

Output:

Hello World

#include is a preprocessor that is used to process the header files while compiling.

stdio.h standard input output is a library to run C basic program. It include built-in funciions like printf(), scanf(), keywords, etc. .h is a header file extension.

int - data type

main() the compiler's entry point. Every program in C starts with main() function.

To print something in output we use printf() fucntion.

return 0 used to return the program output successfully. return is a keyword in C.