Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What operators are prohibited/allowed by rule 12.13?
#2
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)


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)