将如下 C++代码中的 printf("\n") 更换为 printf("%c",'\n'),输出效果相同。
for (int i = 0; i < 100; i++) { if (i % 5 == 0) printf("\n"); printf("%2d", i); }
正确
错误