运行结果的后面为何错误
#include <stdio.h> int main() { int arr[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; int i=-1; do { i++; printf("%d\n",arr[i]); }while(i<10); return 0; }
#include <stdio.h> int main() { int arr[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; int i=-1; do { i++; printf("%d\n",arr[i]); }while(i<10); return 0; }
2017-10-13
举报