#why is this wrong
12 messages · Page 1 of 1 (latest)
And? what happened?
it printed out 10 which is the last element of the array.
it's still marking it as wrong
Might be that they're just matching your source code against some pattern?
Where code and screenshot?
You saying that "it's still marking it as wrong" doesn't really give much information
I forgot you can check their solution code
they wanted me to just put int* ptr = &arr[9]; (the array counts 1 to 10)
😂 😭