Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 10.2 Are increment/decrement compliant
#1
Are the increment and decrement operators on essentially character type allowed?
Code:
char c = ‘A’;
   c++;  /* compliant or not compliant */
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)