#include int i1, i2; short s1, s2; char c1, c2; float f1, f2; double d1, d2; int main(int argc, char *argv[]) { cout << "Address of i1 = " << (unsigned int) &i1 << "\n"; cout << "Address of i2 = " << (unsigned int) &i2 << "\n"; cout << "Address of s1 = " << (unsigned int) &s1 << "\n"; cout << "Address of s2 = " << (unsigned int) &s2 << "\n"; cout << "Address of c1 = " << (unsigned int) &c1 << "\n"; cout << "Address of c2 = " << (unsigned int) &c2 << "\n"; cout << "Address of f1 = " << (unsigned int) &f1 << "\n"; cout << "Address of f2 = " << (unsigned int) &f2 << "\n"; cout << "Address of d1 = " << (unsigned int) &d1 << "\n"; cout << "Address of d2 = " << (unsigned int) &d2 << "\n"; }