TP 2
TP 2
TP 2
TP N°2
1- Structure of a Program
#include <stdio.h>: Includes the standard input output library functions. The printf()
function is defined in stdio.h .
void main (): The main () function is the entry point of every program in c language.
The void keyword specifies that it returns no value.
return 0: Main function return value.
{: Begin
}: End
2- Declaration of Variables/Constants
5- Variable initialization
6- Operators
7- Types conversion