알고리즘

c언어 char int변환

object0814 2014. 10. 22. 06:01

 


1
2
3
4
char c = '1';
int i;
 
i = c-'0';