r/programminghumor • • Feb 11 '26

Array is syntax error

Post image
444 Upvotes

46 comments sorted by

View all comments

Show parent comment

2

u/Puzzleheaded_Study17 Feb 11 '26

Yeah, (a+10) is still a pointer. And that means you can add a value to the pointer if you want to have a function start at some index at an array without having to copy or tell the function it's not starting at the beginning