/* 
  
 逗号运算符 "," 
 逗号表达式:用逗号连接的表达式 
 逗号表达式求值:对逗号连接的每个表达式逐个求值,用最后一个表达式的值,作为整个逗号表达式的值 
  
  
  
 */ 
 
#include <stdio.h> 
 
int main(int argc, const char * argv[]) { 
     
    int a = 4,b = 5,result = 0; 
     
    result = (a++,b++,a+b); 
    //a+4=8,b+3=8,a+b=9 
    printf("result=%d\n",result); 
     
     
     
     
    return 0; 
} |   
        
 
    
    
    
     
 
 |