C-PROGRAMMING-STRUCTURE

Explanation:


1.    Line 1 called , Declaring a Header file or library file

Ex: in college library. There is lot of books available, if I can choose drawing book it have only drawing related topic only.

Likewise in #include

Studio.h - > standard input and output

#include is a pre processor directive that includes the contents of the file "stdio.h" in the program. "stdio.h" is a header file that contains functions for input and output operations, such as the printf() function used in this program.

2.    int main() is the main function of the program. All C programs start executing at the main function.


3. printf("\nHello World"); is a function call to the printf() function, which prints the string "Hello World" to the console. The \n at the start of the string is an escape sequence that represents a new line.


4. Return 0; the return 0; statement is used to indicate that the main function has completed successfully. The value 0 is returned as the exit status of the program, which indicates a successful execution. When you run this code, it will print "Hello World" in the console.