[ create a new paste ] login | about

Link: http://codepad.org/KHy56VNz    [ raw code | fork ]

C, pasted on Nov 14:
1
2
3
4
5
6
7
8
9
int main() {
   typedef int array_has_three_elements[ 3 ];
   array_has_three_elements a[] = { { 1, 2, 3 },
                                    { 4, 5, 6 } 
                                  };
   
   array_has_three_elements *p = a;
   return 0;
}


Output:
No errors or program output.


Create a new paste based on this one


Comments: