#include<iostream>
#include<string>

using namespace std;



struct car{
    int weight;
    string color;
};
    
int main()
{
car car1={100, "red"};
car car2={200, "blue"};
car car3={300, "green"};

car * pc1;
pc1=&car1;
cout<<pc1<<endl;
cout<<&pc1<<endl;
cout<<*pc1<<endl<<endl;
cout<<(*pc1).weight<<" "<<pc1->color<<endl;
cout<<(*pc2).weight<<" "<<pc2->color<<endl;
cout<<(*pc3).weight<<" "<<pc3->color<<endl;


   
   return 0;
}
