The same assignments using pointers

   struct point {
          int x;
          int y;
       };

   struct point bar;
   struct point* barPointer = &bar; // barPointer points to bar
          barPointer->x = 1;        // -> instead of .
          barPointer->y = 2;