5

For example:

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 
Cody Gray
  • 230,875
  • 49
  • 477
  • 553
Celeritas
  • 13,721
  • 33
  • 104
  • 184

0 Answers0