CÖеÄ++£¬Çë°ïæ½âÊÍÒ»ÏÂ
int a=2; int i; i=(a++)+(++a)+(a++)+(++a)+(a++); printf("%d",i); ½á¹ûÊÇ20£¬Çë½â¶Á
ÕâÒѾ²»ÊÇÔ¾ÌùÁË£¬Ëͳ¼Æ¹ý½ñÌì³öÏÖÁ˼¸´Î¡¡¡¡ ÎÒײǽ ¼ÈÈ»Äã¼û¹ýºÜ¶à£¬ÄÇÄã¸øÒ»¸öµØÖ·ÎÒºÃÂð£¿ÎÒÈ¥¿´¾ÍÊÇÁË£¬²»ÓÃײǽ¡£ ÍÛ£¬ÓÖÊÇÕâÖÖÎÊÌâ ÕâÊÇ䶨ÒåÐÐΪ¡¡ µÈÓÚ¶àÉÙ£¬Õâ¸öÒª¿´±àÒëϲ»¶Ôõô¸É¡¡ ´ËÀàÎÊÌ⣬±ê×¼´ð°¸¾ÍÊÇ¡°²»ÖªµÀËü»áµÈÓÚ¶àÉÙ£¬ËüµÈÓÚ¶àÉÙ¶¼ÓпÉÄÜ£¬¶¼²»Î¥±³±ê×¼£¬µ«ÊDz»Ó¦¸ÃдÕâÑùµÄ´úÂ롱¡¡ Èç¹ûÂ¥Ö÷ÏëÖªµÀΪʲôÔÚ×Ô¼ºµÄ»ú×ÓÉÏÖ´Ðнá¹ûÊÇ20£¬Çë×ÔÐв鿴·´»ã±à¡¡ ½á¹û²»È·¶¨£¬²»Í¬µÄ±àÒëÆ÷Óв»Í¬µÄ½â¶Á Èç¹ûÎÒ˵ÊÇÔÚVCÏÂÄØ£¿ vc6¿ÉÄܸúvc7µÄ½á¹û²»Ò»Ñù vc7¿ÉÄܸúvc8µÄ½á¹û²»Ò»Ñù vc8¿ÉÄܸúvc9µÄ½á¹û²»Ò»Ñù vc9¿ÉÄܸúvc10µÄ½á¹û²»Ò»Ñù vc10µÄdebug°æ¿ÉÄܸúvc10µÄrelease°æ²»Ò»Ñù¡¡ Â¥Ö÷ÏëÖªµÀ¾ßÌåµÄΪʲô£¬Çë×ÔÐв鿴·´»ã±à¡¡ÒýÓà vc6¿ÉÄܸúvc7µÄ½á¹û²»Ò»Ñù vc7¿ÉÄܸúvc8µÄ½á¹û²»Ò»Ñù vc8¿ÉÄܸúvc9µÄ½á¹û²»Ò»Ñù vc9¿ÉÄܸúvc10µÄ½á¹û²»Ò»Ñù vc10µÄdebug°æ¿ÉÄܸúvc10µÄrelease°æ²»Ò»Ñù¡¡ Â¥Ö÷ÏëÖªµÀ¾ßÌåµÄΪʲô£¬Çë×ÔÐв鿴·´»ã±à¡¡ ¾µä¡¡ ²»¾ÍÊÇҪŪÇå³þ£º++iºÍi++ µÄÇø±ðÂð ¿É¶ñ°¡~~ ÒªÏò°æÖ÷Ãǽ¨ÒéһϷŸö FAQ ÔÚÖö¥Çø¡¡ ÎÒÒªÊÇÀÏ°åËÕâôд³ÌÐòÁ¢Âí¿Û¹¤×Ê~~ Õâ¸öÌû×ÓÓеã¹Ö~~~
Ïà¹ØÎÊ´ð£º
13¸öÈËΧ³ÉһȦ£¬´ÓµÚÒ»¸öÈË¿ªÊ¼Ë³Ðò±¨ºÅ1£¬2£¬3¡£·²±¨µ½3ÕßÍ˳öȦ×Ó£¬ÕÒ³ö×îºóÁôÔÚȦ×ÓÖеÄÈËÔÀ´µÄÐòºÅ ½á¹ûÓ¦¸ÃÊÇ13 ¿ÉÎҵijÌÐòµÄ½á¹ûÊÇ11 Ï£ÍûºÃÐÄÈË°ï¸ÄһϠ#include <stdio.h> #include < ......
Ï£Íû×æ¹ú¸ü¼Ó·±ÈÙ²ýÊ¢ ÎÒºÍÎÒµÄ×æ¹ú Ò»¿ÌÒ²²»ÄÜ·Ö¸î ÎÞÂÛÎÒ×ßµ½ÄÄÀï ¶¼Á÷³öÒ»Ê×ÔÞ¸è ÎҸ質ÿһ×ù¸ßɽ ÎҸ質ÿһÌõºÓ ôÁôÁ´¶ÑÌСС´åÂä ·ÉÏÒ»µÀÕÞ À²~~~À²~~~ ÄãÓÃÄÇÄãĸÇ×µÄΠ......
C/C++ 2009-9ר¼Ò°ñ Ãû´Î ר¼ÒÃû³Æ ר¼Ò·Ö ¸öÈËÃèÊö 1 mstlq £¨ÃæÉ«Ìú·ÇÅ£© 5843 ÒòΪ²Ë£¬ËùÒÔŬÁ¦Ñ§Ï°ÖÐ 2 whg01 £¨¼°Ê±½áÌùÊÇÃÀµÂ£©&n ......
±ÈÈçÊý×éarray[100]="12@good@thanks@men@"; Ôõô×ö²ÅÄܽ«array1[100]="12";array2[100]="good";array3[100]="thanks";array4="men"; ÐèÒªÔõô×öÄØ?CÀ ......
±àдһ¸ö³ÌÐòÓÃÁ´±íʵÏÖ£º½«Ò»¸öÉýÐòÕûÊýÊýÁеÄÖظ´Êý¾ÝÈ¥µô ±àºÃºó£¬½á¹û²»¶Ô°¡£¬ÇóÖúc¸ßÊÖ #include <stdio.h> #include <stdlib.h> struct link { int number; s ......