应该是p=su,因为su已经是数组,相当于student*类型啦
有两个错误,p = &su[5];这里已经越界了,数组su只有0到4, 可以置空或者去掉;后面for循环
for(int i = 0; i < n; i++) { p = &su[i]; ... }