c=fread(&ch,sizeof(char),100,stdin);
Will it stop reading from stdin if we give a string "stackoverflow" and hit enter or it will wait untill it gets 100 characters???
c=fread(&ch,sizeof(char),100,stdin);
Will it stop reading from stdin if we give a string "stackoverflow" and hit enter or it will wait untill it gets 100 characters???
It will read only the first 100 chars