逗号表达式

 // 逗号表达式,只取最右边的值

    int a = ((void)5,2); 

//5不用void修饰会有警告,用void修饰表明不用5这个值。

 

posted @ 2015-06-05 15:02  Emyin  阅读(143)  评论(0编辑  收藏  举报