What is inlining, and when might it be beneficial?
Why, in the following code, is the compiler unable to move the call to strlen out of the loop?
void upper(char *s) {
for (long i = 0; i < strlen(s);="" i++)="">
if (s[i] >= 'a' && s[i] <=>=>
s[i] += ('Z' - 'z');
}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here