Tag: strtol()

30
Jun
2016

How to count numbers from string ?

code: #include<stdio.h> #include<stdlib.h> int main(){ char line[]=”1 -2 10000 -50 20 7 445 -4″; char *p,*e; long…