在ASCII表中,方向箭头位于24~27位置。直接输出24~27位置的字符即可。例程:include<stdio.h>int main(){ int a[4]; int i,j; for(i=0,j=24;i<4;i++,j++) { a[i]=j; printf("%c\n",a[i]); //输出↑↓←→ } } ...