This is the minimum C program:
main()
{
}
Every C program must have one and only one main() function.
The {} groups statements together and, as can be seen from above, the { is equivalent to the begin of the program and the } is the same as the end of the program
Comments can be placed anywhere inside C programs using /* and */. For example:
/* My very first C program */
main()
{
/* Another comment */
}
Comments cannot, usually, be nested, so:-
/* My very first C program */
main()
{
/* Comment /* One more comment */ */
}
...is illegal.