#include <stdio.h> void main() { //int *p_int = 123; //错误 //int *p_array = {1,2}; //错误 int array[] = {1,2}; int *p_array = array; printf("%d",*p_array); }
时间: 2024-10-16 12:54:05
#include <stdio.h> void main() { //int *p_int = 123; //错误 //int *p_array = {1,2}; //错误 int array[] = {1,2}; int *p_array = array; printf("%d",*p_array); }