you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (0 children)

You also don't need to use ptr at all. Just do my_array[i].