asd8532
#include <stdio.h>
int f(double *f){
//printf("%f \n",*f);这里是0
//*f+=1;
//printf("%f \n",*f);这里是1
//printf("%d \n",*f);这里是1
//*f+=1;
//printf("%d \n",*f);这里是0
*f+=1;
return (int)*f;
}
int main()
{
int a=1;
a = f((double *)&a);
printf("%d ",a);
return 0;
}