In c++ I know you could check for black space by
In c this is not working for me. Does c represent a blank space differently?Code:if(string[i]==' ')
My code looks like this but the blank spaces are not skipped.
Code:while (string[i] == ' '){ i++;}