format specifiers in c | Format Specifiers and Usage

Spread the love
Format Specifiers in C Language : 

Format Specifier
Description
%c
Character
%hd
Signed short Integer
%hu
Unsigned short Integer
%d
Signed Integer
%u
Unsigned Integer
%lld
Signed long long Integer
%llu
Unsigned long long Integer
%o
Octal
%x
Hexadecimal
%f
Float type data
%lf
double
%Lf
Long double
%e
Exponential
%p
Pointer representation  i.e  Address in hexadecimal  

Note : This Under GCC (GNU Compiler Collection) 

Venkatesh Macha

Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

Leave a Reply