fscanf(fp,"%d",&a[i]);和fscanf(fp,"%d",a+i);有什么区别?
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 14:01:17
fscanf(fp,"%d",&a[i]);和fscanf(fp,"%d",a+i);有什么区别?
fscanf(fp,"%d",&a[i]);和fscanf(fp,"%d",a+i);有什么区别?
fscanf(fp,"%d",&a[i]);和fscanf(fp,"%d",a+i);有什么区别?
无区别
两种写法在编译后生成的汇编代码完全一样.