我这哪错了,输出不来结果
程序代码:
#include<stdio.h> #define clos 8 void main() { int i=0,j=0; int I = 0, J = 0; static char sul[clos][clos]; while (i < clos) { for (j = 0; j < clos; j++) { sul[i][j] = "*"; } i++; } while (I< clos) { for (J = 0; j < clos; j++) { printf("%c", sul[i][j]); } puts(""); I++; } }