Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
2D array processing using functions


1. 2D array processing using functions

2. Array grid
The example below shows how to create a 2D array, pass it to get initialized, and then pass it to be displayed.

Remember that arrays in C are always passed by reference and not by value.

Record structures in C, on the other hand, can be passed by value or by reference (address/pointer). Here is the C code.

Here is the output of the C code.


3. End of page