ConvertDataTypes.comConvert data types programming in one click !

Convert char* to long in C

    16685 hits
  • char * vIn = "0";
  • long vOut = strtol(vIn,NULL,10);