看看威盛的这几道笔试题!
1.三组程序,找出你认为的错误。
(1)a.c long temp[255];
b.c extern *temp;
(2)a.c long temp[255];
b.c extern temp[256];
(3)a.c long temp[255];
b.c extern temp[];
2.在第一个声明处编译出了奇怪的错误,为什么?
#include <stdio.h>
#include “myfun1.h”
#include “myfun2.h”
int myInt1;
int myInt2;
3.printf(“0x%x”, (&0)[-1]); 请问打印了什么?