转载链接 https://blog.csdn.net/qq_39852676/article/details/123342620 int a = 1; int *p = &a; float *p1 = (float*)p;