18-11-2015, 01:19 PM
In function f the *p and *q are considered to be pointing to a different objects and therefore the assigment is compliant with rule 19.1.
This was clarified in DR#042 (http://www.open-std.org/jtc1/sc22/wg14/w...r_042.html) of the C standard, which stated that nonoverlapping portions of an array can be regarded as objects in their own right.
This was clarified in DR#042 (http://www.open-std.org/jtc1/sc22/wg14/w...r_042.html) of the C standard, which stated that nonoverlapping portions of an array can be regarded as objects in their own right.
Posted by and on behalf of the MISRA C Working Group