Guys i just to know how we can pass an array through function . if possible pls write a sufficient program for this
Array as a function parameter is passed by its pointer. Code: element_type my_array[ARRAY_SIZE]; // array definition void fun(element_type *array) // function definition { // instructions } fun(my_array); // function call