Advertisement
Guest User

Before

a guest
Dec 15th, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.77 KB | None | 0 0
  1.  
  2. struct Structy
  3. {
  4.     int value;
  5. };
  6.  
  7. typedef struct Structy StructT;
  8.  
  9. typedef struct Structy2
  10. {
  11.     int value;
  12.  
  13. } Structy2;
  14.  
  15. int main(void)
  16. {
  17.     int alone;
  18.  
  19.     long int lint1, *lintptr1, lintaray10[10];
  20.    
  21.     long int lint2 = 3, *lintptr2,
  22.             lintaray2[2] = { 1, 2 };
  23.            
  24.     int int3, intarray[] = { 1, 2, 3, 4 };
  25.     const int cint3, cintarray[] = { 1, 2, 3, 4 };
  26.  
  27.     const int cx, cy;
  28.     volatile int vx, vy;
  29.  
  30.     signed char sc1 = 'h', sc2;
  31.     long long ll1, ll2;
  32.  
  33.     const char *literal = "HiClang", *literal2 = "empty", literal3[] = "three";
  34.  
  35.     struct Structy structA, *structB, structC = { 2 };
  36.     StructT structAA, *structBB, structCC = { 2 };
  37.  
  38.     Structy2 structAAA, *structBBB, structCCC = { 2 };
  39.    
  40.     return 0;
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement