Listing 12 Shows that tags and variables share the same namespace

#include <iostream.h>

struct pair {int x; int y;};

main()
{
   int pair = 0;
   pair p = {pair,pair};     // error
   
   cout << pair << endl;
   cout << p.x << ',' << p.y << endl;
   return 0;
}

// End of File