ConvertDataTypes.comConvert data types programming in one click !

Convert char* to long in C

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