[C++]C++逗号的一种不常见用法
#include<iostream>
using namespace std;
int main(){
int a = 1, b = 2, c;
int d;
d = a / b , c = 1;//it works
return 0;
}
这样写是可以的...
#include<iostream>
using namespace std;
int main(){
int a = 1, b = 2, c;
int d;
d = a / b , c = 1;//it works
return 0;
}
这样写是可以的...