Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 22, 2019 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/cc3abb2faabc336332bff62c0e5bf600 to your computer and use it in GitHub Desktop.
Save parzibyte/cc3abb2faabc336332bff62c0e5bf600 to your computer and use it in GitHub Desktop.
char *cadena = "2052";
int entero = (int) strtol(cadena, NULL, 10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment