List of scanf conversion specifers (%d,%x,%if)

  1. d=Denary integer
  2. ld=Long int
  3. x=Hexadecimal integer
  4. o=Octal integer
  5. h=Short integer
  6. f=Float type
  7. lf=Long float or double
  8. e=Float type
  9. le=Double
  10. c=Single character
  11. s=Character string

No comments:

Post a Comment