#include <stdio.h> #include <stdlib.h> int main() { char *a="100"; int num = atoi(a); printf("%d", num); return 0; }
To embed this program on your website, copy the following code and paste it into your website's HTML: