5

例如:

int one = 20;
int two = 20L;

cout << "one: " << one << " two: " << two << endl;
// one: 20 two: 20

cout << "one: " << sizeof(one) << " two: " << sizeof(two) << endl;
// one: 4 two: 4 
4

0 回答 0