Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
conversione char int
user59317
Programming language:
Whatever
2021-08-10 16:11:51
0
Q:
conversione char int
Shabbeh
Code:
Whatever
2021-08-15 01:08:37
char c='5';int i=c-'0'; // c='5'=53 '0'=48 nella tabella ascii 53-48=5
0
Tags
int
Related
int to char in c
bcd to char c
if integer input was equal to a char
c convert char to int
string to int
character to integer
New to Communities?
Join the community