atoi

#include <stdlib.h> //atoi's library
#include <stdio.h>

int main (void)
{
	string input = "9";
  
  	int output = atoi(input);
  
  	printf("%i", output);
  
  	//this will print out 9 as an int not a string
}
Comfortable Caterpillar