Trouble implementing a recursive call in C
问题 So I'm I've been working with C for the very first time, and I think I'm having trouble using recursion. For instance, to return a value for a recursive call in C#, I might use return methodRecursiveCall(parameter) . In C, I have this statement, which is a part of a roman numeral converter: int convert(char *s) { int val = 0; int index = 0; int length = strlen(s); while (length >1) { if (s[index] == 'I') { if(s[index + 1] == 'V' || s[index + 1] == 'X' || s[index + 1] == 'C' || s[index + 1] ==