Can some one tell me where the string is stored ,and there is only singed char c variable please explain "" my understanding is that it reads a character checks it and prints it then read the coming one !!
#include<stdio.h>
#include<ctype.h>
main(){
int cnt=0;
signed char c;
printf("***Print Identifiers***\n\n");
printf("Type text,terminate with EOF Z orD");
c=getchar();
while(c!=EOF){
while(isspace(c))
c=getchar();
if(isalpha(c)){
while(isalnum(c)){
putchar(c);
c=getchar();
}
printf("\n");
cnt++;
}
else if (c==EOF)
break;
else{
printf("Illegal charavter %c\n",c);
c=getchar();
}
}
printf("Number of Identifiers =%d\n",cnt);
}