A type construction: one or more values with the same type and name.
Wright a 'C' program for storage representation of 2-D array.
cod a program student degree array in c language
cod a program student degree array in c language
Reference:cprogramming-bd.com/c_page1.aspx# array programming
the example of array over charcter variables is char ["string"]
the address of variable (pointer) that contains array
yes
array type
int findMax(int *array) { int max = array[0]; for(int i = 1; i < array.length(); i++) { if(array[i] > max) max = array[i] } return max; }
To write a C++ program to display the student details using class and array of object.
maxValue = function (array) {mxm = array[0];for (i=0; i<array.length; i++) {if (array[i]>mxm) {mxm = array[i];}}return mxm;}; i don't know
You cannot delete elements from an array. But you can move the elements: if (del_index < no_of_elements-1) { memmove (&array [del_index], &array [del_index+1], sizeof (array [0]) * (no_of_elements - del_index - 1)); } --no_of_elements;