阅读背景:

警告:不兼容指针类型的赋值(默认启用)

来源:互联网 
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

int main()
{
   double x,y;
   printf("Enter a double: ");
   scanf("%lf", &x);
   printf("Enter another double:");
   scanf("%lf", &y);
   int *ptr_one;
   int *ptr_two;
   ptr_one = &x;
   ptr_two = &x;
   int *ptr_three;
   ptr_three = &y;
   printf("The Address of ptr_one: %p \n", ptr_one);
   printf("The Address of ptr_two: %p \n", ptr_two);
   printf("The Address of ptr_three: %p", ptr_three);

return 0;
}
#include <math.h>
#include <stdio.h>
#include <



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: