初始化数组并打印出内容
#include <stdio.h> int main(int argc, char *argv[]) { int count[4] = {4, 3, 2, 1}, i; for (i = 0; i < 4; i++) printf("count[%d] = %d\n", i, count[i]); return 0; }