#include<stdio.h>
int main(){
const int x = 100;//4byte
int arr[3];
arr[0] = 10;
arr[3] = 30;
int y = 200;
printf("arr[3]=%d\n", arr[3]);
printf("x=%d, y=%d\n", x,y);
return 0;
}
时间: 2024-11-13 06:35:46
#include<stdio.h>
int main(){
const int x = 100;//4byte
int arr[3];
arr[0] = 10;
arr[3] = 30;
int y = 200;
printf("arr[3]=%d\n", arr[3]);
printf("x=%d, y=%d\n", x,y);
return 0;
}