Original Post
Hi, in this simple example: char ccc[50]; unsigned char p; p=10; ccc[(p++) + p*2]=123; what happens? 1) p is incremented immediately after evaluating p, just before making p*2. ccc[32] becomes 123 2) p is incremented after making =123. ccc[30] becomes 123 instead of ccc[32] In my opinioin the 1) should be correct but Visual C++ and gcc follow the 2), whereas my crosscompiler for Renesas CPU follows the 1) What do you think? Regards Tommaso