Format Specifiers Used In C Programming

Written by

Format Specifiers For Integer Data Type

Integer Data Type Format Specifiers
short signed %d or %I
short unsigned %u
long signed %ld
long unsigned %lu
unsigned hexadecimal %x
unsigned octal %o

Format Specifiers For Real Data Type

Real Data Type Format Specifiers
float %f
double %lf

Format Specifiers For Character/String Data Type

Character Data Type Format Specifiers
signed character %c
unsigned character %c
String %s



Posted in: World Of Programming

  (5) Responses to "Format Specifiers Used In C Programming " - Say your part!

  1. 1
    From vijayNo Gravatar   on November 15th, 2008 at 11:29 am

    how manynumber can have a longinteger

  2. 2
    From spitNo Gravatar   on August 2nd, 2009 at 3:55 pm

    Thank you so much for posting .. :-)

    It really helps a lot ..!

    Goodluck and GODbless always..!

  3. 3
    From Reena guptaNo Gravatar   on August 25th, 2009 at 8:32 am

    it’s very helpful for begginer’s!!!

  4. 4
    From mohd haroonNo Gravatar   on January 11th, 2011 at 7:24 pm

    thanks to post me

  5. 5
    From Hemendra Kumar SainiNo Gravatar   on May 1st, 2011 at 8:03 pm

    Thanks Pretty Helpful

Use The Form Below To Leave Your Comment(s):

Feel free to use these tags in your comments: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>