We are not allowed to pre and post increment any array like
But in a function(if it is formal argument why it is legal?Code:int array[10]; array++;//Illegal because base address of an array cannot be changed.
Code:void function(char *array) { array++;//Legal }