/*Here's a list of commonly used C data types and their format specifiers.
Voici une liste des types de données C couramment utilisés et de leurs spécificateurs de format.
Data Type Format Specifier
Spécificateur de format de type de données
int %d
char %c
float %f
double %lf
short int %hd
unsigned int %u
long int %li
long long int %lli
unsigned long int %lu
unsigned long long int %llu
signed char %c
unsigned char %c
long double %Lf
Example 5: Integer Input/Output*/
#include <stdio.h>
int main()
{
int testInteger;
printf("Enter an integer: ");
scanf("%d", &testInteger);
printf("Number = %d",testInteger);
return 0;
}
//Output
//Enter an integer: 4
//Number = 4