Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 2
What function is convert a string to integer
C
3 Respostas
+ 7
char s[] = "11";
int num = atoi(s);
but it is not recommended as not handling errors
+ 1
Thank you