Questions about 18.3 - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA-C: 2004 rules (https://forum.misra.org.uk/forumdisplay.php?fid=17) +---- Forum: 6.18 Structures and Unions (https://forum.misra.org.uk/forumdisplay.php?fid=48) +---- Thread: Questions about 18.3 (/showthread.php?tid=26) |
Questions about 18.3 - bigpan - 28-02-2005 I have the following patterns, anybody please kindly give me some advises on them. /*pattern1*/ int counter; for (counter = 0; counter < 100; counter++) {...} ... counter = a*b; - MISRA Reply - 30-06-2005 Quote:I have the following patterns, anybody please kindly give me some advises on them.[code]/*pattern1*/ int counter; for (counter = 0; counter < 100; counter++) {...} ... counter = a*b; |