C String Is Int

[Solved] C String Is Int | C - Code Explorer | yomemimo.com
Question : c string is int

Answered by : distinct-dog-4jhsfbxh3ii1

int isNumber(char s[])
{ for (int i = 0; s[i]!= '\0'; i++) { if (isdigit(s[i]) == 0) return 0; } return 1;
}

Source : | Last Update : Sun, 01 Nov 20

Answers related to c string is int

Code Explorer Popular Question For C