Update test.c
This commit is contained in:
parent
52614a7f01
commit
0fb63ee703
4
test.c
4
test.c
@ -52,11 +52,11 @@ int main() {
|
||||
printf("2d array: %d!\n", twod_array[0][0]);
|
||||
|
||||
for (int counter = 0; counter < 10; counter++)
|
||||
printf("counter: %d\n", counter);
|
||||
printf("for-counter: %d\n", counter);
|
||||
|
||||
int counter = 0;
|
||||
while (counter < 10)
|
||||
printf("counter: %d\n", counter++);
|
||||
printf("while-counter: %d\n", counter++);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user