logoalt Hacker News

kevin_thibedeautoday at 12:34 AM1 replyview on HN

Is a pointer parameter an input, output, or both?


Replies

drfloyd51today at 2:55 AM

Input.

You are passing in a memory location that can be read or written too.

That’s it.

show 1 reply