Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 19.9 - incorrect comment in mc2_1909.c?
#1
mc2_1909.c contains following code:
Code:
#define SUM(A,B,C) ((A) + (B) + (C)) /* Violates Rule 17.4 */

Rule 17.4 is "Array indexing shall be the only allowed form of pointer arithmetic." - the code does not seem to be violation of this rule.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)