Q. conver string into integer recursively
Error in recursion
ue function type is of int but u r returning a s[0]
s[0] is a character not int
make it int first by
s[0]-‘0’
okay thanks
Q. conver string into integer recursively
ue function type is of int but u r returning a s[0]
s[0] is a character not int
make it int first by
s[0]-‘0’
okay thanks