In C++11 what are the types of x and y when I write this?
x
y
int main(){ auto x = true ? 1 : 1.0; auto y = false ? 1 : 1.0; std::cout << x << endl; std::cout << y << endl; return 0;}
Aucun commentaire:
Enregistrer un commentaire