#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>


int main() {
    char *ns = "124142";
    char *ns1 = "324241324";
    printf("%d\n", atoi(ns));
    printf("%ld\n", atol(ns1));

    return 0;
}

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2021-10-03
猜你喜欢
  • 2021-10-10
  • 2022-02-05
  • 2021-08-24
  • 2021-08-24
  • 2022-02-15
  • 2021-12-19
  • 2021-10-06
相关资源
相似解决方案