Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 14.2 What is meant by assign"
#2
The first clause may assign a value to the loop counter via a function call which includes persistent side-effects.

The above example is compliant with this rule.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)