is there even a convenient way to pass 2D arrays with variable columns/rows as arguments to a function in C

Follow

@rip_imho surely the answer is <by pointer>, but the tendency in C is for metadata (like how many elements per row) to be managed on the side, or implicit, so I don't know how you would get that knowledge passed.

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one