Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 2
    You can pass in an array to a function and then operate on that array: void foo( char array[], int length). Of course, array is a pointer under the hood, but it is not "explicitly" a pointer, and it may therefore be more intuitive for somebody learning arrays but who hasn't quite learned pointers. Commented Feb 24, 2020 at 22:49