逗号表达式

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

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

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

原文地址:https://www.cnblogs.com/yintingting/p/4554668.html