- Get link
- X
- Other Apps
Structure of a c program
A C program contains one or more functions, Where a function is defined a group of c statement that are executed together.the Statement in C program are written in a logical sequence to perform a specific task. The main() function is the important function and is a part of every C program.The execution of a c program begins at this function.
TO write a C program ,we first need to write the code.
#include<stdio.h>
void main()
{
printf("\n Welcome to the world of C ");
}
A C program contains one or more functions, Where a function is defined a group of c statement that are executed together.the Statement in C program are written in a logical sequence to perform a specific task. The main() function is the important function and is a part of every C program.The execution of a c program begins at this function.
TO write a C program ,we first need to write the code.
#include<stdio.h>
void main()
{
printf("\n Welcome to the world of C ");
}
Comments
Post a Comment