Home
       0018-structptr.c - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       0018-structptr.c (120B)
       ---
            1 int
            2 main()
            3 {
            4 
            5         struct S { int x; int y; } s;
            6         struct S *p;
            7 
            8         p = &s;        
            9         s.x = 1;
           10         p->y = 2;
           11         return p->y + p->x - 3; 
           12 }
           13