最近有人问了我一个C语言中使用指针时遇到的问题。下面是一个简化后的代码示例。 #include <stdio.h> int fix_var = 90; void update_ptr(int *a) { int* temp = a; a = &fix_var; printf("adress of temp: %d \n", tem
博客
泡泡
积分
勋章
【坑】这样用C指针可不行
第三方账号登入
看不清?点击更换
第三方账号登入
QQ 微博 微信