Commonly used C-programming data types and their format specifiers for I/O datatypes.

0
10
Data Type Format Specifier
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

LEAVE A REPLY

Please enter your comment!
Please enter your name here