Define algorithm And explain the structure of C program with example
Hello dear student
- Every C-programs needs to have the main function. Each main function contains 2 parts. A declaration part and an Execution part. The declaration part is the part where all the variables are declared.
- int main() – This is the line from where the execution of the program starts. The main() function starts the execution of any C program. ... printf(“Hello World”) –The printf() command is included in the C stdio. h library, which helps to display the message on the output screen.
Hope that's helpful
Best of luck