Question: Coding help for C Trying to write a function that takes a cstring which something like 123-100 and then returns 23 as a int. So
Coding help for C Trying to write a function that takes a cstring which something like "123-100" and then returns 23 as a int. So the condition of the string is none of them are negative, and the operator is in between the two integers. The operator could be a +,-,or *.
How can this be done without using any libraries
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
