#include <iostream.h>
void main(){
int x,y,t=0,b=0;
x=y=0;t=x++&&++y;
cout < <"t=" < <t < <"," < <"x=" < <x < <"," < <"y=" < <y < <endl;
}
½á¹ûΪʲôÊÇ£ºt=0,x=1,y=0
t=x++&&++y;
Õâ¸öÕ¦¼ÆË㣬
#include <iostream.h>
void main(){
int x,y,t=0,b=0;
x=y=0;t=x++&&++y;
cout < <"t=" < <t < <"," < <"x=" < <x < <"," < <"y=" < <y < <endl;
}
½á¹ûΪʲôÊÇ£ºt=0,x=1,y=0
Õâ³ÌÐòȷʵÔËÐеĽá¹ûÊÇÕâ¸ö°¡£¬ËùÒÔÏëÎÊÎʸßÊÖÊÇÔõôÑùµÄÔÀí
&&ÊÇÌõ¼þÔËËã·û¡£
t=x++&&++y;
ÊÇÔõôƹý±àÒëÆ÷µÄ£¿£¿£¿
ÄãÓõÄÊÇʲô°¡£¿
¶Ì·ֹͣËã·¨£¬ÔÚ&&ºÅ֮ǰ¼ÆËãxµÄÖµÈç¹ûΪ0£¬¾Í²»ÔÙ¼ÆËã&&ºóµÄ±í´ïʽ£¡
Ê×
ÒÔǰÔÚVCÀïÃæ½¨Ò»¸ö¹¤³Ì£¬¶¼Ö»ÓÃÒ»¸ö .c Îļþ£¬×òÌìÔÚÒ»¸ö¹¤³ÌÀïÓÃÁËÁ½¸ö .cÎļþÁË£¬Óöµ½ÎÊÌâÁË£¬Çë´ó¼ÒÖ¸µã¡£±ÈÈ磺
File1.c Fil ......
ÎÒÊäÈë1 µ«Êä³ö²»ÊÇ1 ÎÊÒ»ÏÂÎÒÄÄ´íÁË?Ö÷ÒªÊDzÎÊýµÄ´«µÝ³ö´íÁ衃 µ«ÎÒÔõôҲ¿´²»³öÀ´ ÎÒµÄÊǵØÖ·´«µÝ
#include "stdio.h"
typedef int type;
typedef struct lnode
{
type elem;
stru ......