0

How can i slove the math string with strchr in c : 23+46 in strings??

Aa

20th May 2020, 9:08 PM
Abbasali
3 odpowiedzi
0
What have you tried so far? Post an attempt.
20th May 2020, 10:45 PM
rodwynnejones
rodwynnejones - avatar
0
I want the code
20th May 2020, 10:48 PM
Abbasali
0
Put the "23+46" into atoi (from stdlib) to get the 23, next use strchr to find the '+' and put that result into atoi.
21st May 2020, 6:56 AM
rodwynnejones
rodwynnejones - avatar