Suppose we have a line in which is an array definition:
char v[100];
What is the subsequent of evaluating this definition? I think that char v definition evaluated first and further to uninitialized variable v operator [] is applied. But it is nonsense. I want to understand, why this definition returned the char*. Please give if it possible references to spec.
char[]arrays always will be decayed to simplechar*pointers, when passed as function partameters.int i;. No part is "evaluated".char v[100]is just syntactic sugar?char v[100] = "abc"would be evaluated,v[3] = 'd'would be evaluated,return v[4]would be evaluated... But not this.