Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(void)
- {
- int alone;
- long int lint1, *lintptr1, lintaray10[10];
- long int lint2 = 3, *lintptr2,
- lintaray2[2] = { 1, 2 };
- int int3 = f(), intarray[] = { 1, 2, 3, 4 };
- const int cint3 = 4, cintarray[] = { 1, 2, 3, 4 };
- const int cx = 1, cy = 2;
- volatile int vx, vy;
- signed char sc1 = 'h', sc2;
- long long ll1, ll2, ***t;
- const char *literal = "HiClang", *literal2 = "empty", literal3[] = "three";
- struct Structy structA, *structB, structC = { 2 };
- StructT structAA, *structBB, structCC = { 2 };
- Structy2 structAAA, **structBBB, structCCC = { 2 };
- int *ptrArray[3], dummy, **ptrArray2[5], twoDim[2][3], *twoDimPtr[2][3];
- auto autoInt = 3, autoInt2 = 4;
- decltype(int()) declA = 4;
- decltype(int()) declAA = 5, decB = 3;
- std::vector<int> vectorA = {1,2}, vectorB = {1,2,3};
- int ff(1), ffx{2};
- StructT structAAB = StructT();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement