02-02-2006, 08:36 AM
My thoughts:
(1) to (4) allowed.
(5) to (10) Not allowed. All theses examples could be writing into several statements and without any code expansion I think (ok, depending of the compiler). Note : (8) are not allowed by MISRA Rule 17.4 (pointer arithmetic)
(1) to (4) allowed.
(5) to (10) Not allowed. All theses examples could be writing into several statements and without any code expansion I think (ok, depending of the compiler). Note : (8) are not allowed by MISRA Rule 17.4 (pointer arithmetic)