09-05-2008, 02:21 PM
mc2_1909.c contains following code:
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.
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.