#include<studio.h>
#include<conio.h>
void main()
{
.............;
.............;
}
First two lines are to add the special functions which we are going to use in our program.
main() is our programming function which returning nothing hence void is written. if our function return the value of type integer then function would be int main().
The containt of function is compulsorily written in curly bracket.
In function every statement ends with semicolon.
After writing your programming compile the program. If no error is present then run the program. As a result you will get the desired output.
Tuesday, 7 October 2014
Basic structure of c programming
Labels:
basic,
C,
create,
int include,
main,
program,
programming,
void
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment