看板 Grad-ProbAsk 關於我們 聯絡資訊
#include <stdio.h> int I[]={0,1,2,3,4,5,6,7,8,9,10}; main() { int j; int *pi=&I[5]; for(j=-5;j<=5;++j) printf("x[%2d]=%2d/n",j,pi[j]); } 請問輸出為? 這題想了很久,請版上大大不吝指教 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.211.213.62
sunneo:換行符號 \n 抄錯了吧? 04/05 22:31