📜  atoi - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:41.941000             🧑  作者: Mango

代码示例1
#include  //atoi's library
#include 

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