nymph9

知识点:

*psum = op1+op2;
*pdiff = op1-op2;

 if(max<*(a+i));
max=*(a+i);
}
return max;
}
void main()
{double x,y,z,*intpart=&y,*fracpart=&z;
void splitfloat (double x, double *intpart, double *fracpart);
printf(" ");
scanf("%lf", &x);
splitfloat(x, intpart, fracpart);
printf("The intpart is: %lf\t\n",*intpart);
printf("The fracpart is:%.6lf\t ",*fracpart);

实验过程中遇到的问题及解决方法:

 

实验心得体会

....指针都没指向具体的内存空间,往里面写内容就非法访问

分类:

技术点:

相关文章:

  • 2021-12-05
  • 2022-12-23
  • 2021-05-03
  • 2021-09-11
  • 2021-11-18
  • 2021-11-18
猜你喜欢
  • 2021-08-20
  • 2022-12-23
  • 2021-11-18
  • 2021-09-25
相关资源
相似解决方案