can i use statements like:
int num;
fread(&num,sizeof(num),1,stdin);
fwrite(&num,sizeof(num),1,stdout);
i tried this and debugged the code the variable is having the correct value.
but that is not getting displayed.
can't i use stdin , stdout in fread and fwrite.