Passing arrays to functions
{"Image DocumentName": "Passing arrays to functions", "Image ImageDescription": "We prototype a function which accepts an array like this: And write the function like this: And call the function like this: Note that we CAN\u2019T return an array from a function (but see later). void process_array (int []); int calc_array (char[]); void process_array (int all_nums[]) { all_nums[1]= 3; . } int some_numbers [100]; process_array(some_numbers);", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}