?
What will be the output of the following C++ code?
What will be the output of the following C++ code?
#include <stdio.h>
#include <ctype.h>
int main ()
{
int i;
char str[] = "jobs...";
i = 0;
while ( isalnum(str[i] ))
i++;
printf (" %d\n",i);
return 0;
}
#include <stdio.h>
#include <ctype.h>
int main ()
{
int i;
char str[] = "jobs...";
i = 0;
while ( isalnum(str[i] ))
i++;
printf (" %d\n",i);
return 0;
}
Join the Discussion
Login to post a comment or share your explanation.
Login