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