#include<stdio.h> #include<stdlib.h> int main() { FILE *fp; fp=fopen("F:\CFree5.0\Demo.txt","r"); if(NULL==fp) { printf("%s","Error on open F:\CFree5.0\Demo.txt"); getch(); exit(1); } char ch; while((ch=fgetc(fp))!=EOF) { putchar(ch); } getch(); putchar("\n"); fclose(fp); return 0; }
##Line:17
//(ch=fgetc(fp))加括号的运行结果(CFree5.0)
//#ch=fgetc(fp)不加括号的运行结果(CFree5.0)
//这是为什么啊,求高手解释!
解决方案
40
运算符优先级