Output of the following code is
#include stdio.h
#includectype.h
void main() {
int b,i;
char c[5]={'a','2','5','h','y'};
for(i=0;i5;i++){
b=isdigit(c[i])?return 5:return 6;
printf("%d\t",b);
}
}

Posted on by