SHARE
TWEET

After

a guest Dec 16th, 2015 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int main(void)
  2. {
  3.  
  4.     int alone;
  5.  
  6.     long lint1;
  7.     long *lintptr1;
  8.     long lintaray10[10];
  9.    
  10.    
  11.     long lint2 = 3;
  12.     long *lintptr2;
  13.     long lintaray2[2] = { 1, 2 };
  14.    
  15.            
  16.     int int3 = f();
  17.     int intarray[4] = { 1, 2, 3, 4 };
  18.    
  19.     const int cint3 = 4;
  20.     const int cintarray[4] = { 1, 2, 3, 4 };
  21.    
  22.  
  23.     const int cx = 1;
  24.     const int cy = 2;
  25.    
  26.     volatile int vx;
  27.     volatile int vy;
  28.    
  29.  
  30.     signed char sc1 = 'h';
  31.     signed char sc2;
  32.    
  33.     long long ll1;
  34.     long long ll2;
  35.     long long ***t;
  36.    
  37.  
  38.     const char *literal = "HiClang";
  39.     const char *literal2 = "empty";
  40.     const char literal3[6] = "three";
  41.    
  42.  
  43.     struct Structy structA;
  44.     struct Structy *structB;
  45.     struct Structy structC = { 2 };
  46.    
  47.     StructT structAA;
  48.     StructT *structBB;
  49.     StructT structCC = { 2 };
  50.    
  51.  
  52.     Structy2 structAAA;
  53.     Structy2 **structBBB;
  54.     Structy2 structCCC = { 2 };
  55.    
  56.  
  57.     int *ptrArray[3];
  58.     int dummy;
  59.     int **ptrArray2[5];
  60.     int twoDim[2][3];
  61.     int *twoDimPtr[2][3];
  62.    
  63.  
  64.     int autoInt = 3;
  65.     int autoInt2 = 4;
  66.    
  67.     decltype(int()) declA = 4;
  68.     decltype(int()) declAA = 5;
  69.     decltype(int()) decB = 3;
  70.    
  71.  
  72.     std::vector<int> vectorA = {1,2};
  73.     std::vector<int> vectorB = {1,2,3};
  74.    
  75.  
  76.     int ff = 1;
  77.     int ffx = {2};
  78.    
  79.     StructT structAAB = StructT();
  80.    
  81.     return 0;
  82.  
  83. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top