Hi, In chapter 16.2.4 register there are code examples that say:
register int a[] = {11, 22, 33, 44, 55};
int a = *(a + 2); // COMPILER ERROR! Address of a[0] taken
and
register int a[] = {11, 22, 33, 44, 55};
int a = a[2]; // COMPILER WARNING!
It appears that in both examples, the variable a is being redefined in the line int a = ..., which results in a different error than the one intended to be demonstrated, but I may be wrong.
Hi, In chapter
16.2.4 registerthere are code examples that say:and
It appears that in both examples, the variable
ais being redefined in the lineint a = ..., which results in a different error than the one intended to be demonstrated, but I may be wrong.