J's Study log

[C] Format specifier 본문

Computer Language/C

[C] Format specifier

정우섭 2019. 12. 1. 17:29
Format specifier Output Data Type  
%d int can print 'char' in ASCII
%ld long  
%f float %xf // x = decimal places
%lf double  
%c char  
%s string  
%u unsigned int  
%lu unsigned long  
%x, %X, %lx, %lX unsigned Hexadecimal  
%o, %lo unsigned Octal  

'Computer Language > C' 카테고리의 다른 글

[C] Integer  (0) 2019.12.01
[C] Data Type  (0) 2019.12.01
[C] Operator Priority  (0) 2019.12.01
[C] Functions  (0) 2019.12.01
[C] What is C  (0) 2019.12.01
Comments