Format Specifiers Used In C Programming

Want To Be Part Of my 7-Week's Lessons To Help You Propel Your Objectives & Eradicate Frustrations In Your Life?
Subscribe FREELY Right Now - click here!

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

Valuable Feedback / Comment / Review From People Like You

  1. vijay says:

    how manynumber can have a longinteger

  2. spit says:

    Thank you so much for posting .. 🙂

    It really helps a lot ..!

    Goodluck and GODbless always..!

  3. Reena gupta says:

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

  4. mohd haroon says:

    thanks to post me

  5. Thanks Pretty Helpful

  6. yash chauhan says:

    really awesum information.. it helped me alot

Speak Your Mind