Format Specifiers Used In C Programming

Posted on: Wednesday, October 22nd, 2008 | Written by Wakish

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

Share This Article with your friends if you appreciate my effort to write it!

SUBSCRIBE ⇒ ∑ [ EMAILRSS ] wakish.info

Posted in: World Of Programming

  (1) Comment so far - Be the 2nd to respond!

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

    how manynumber can have a longinteger

Leave a Comment

Close
E-mail It