Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static int x = 5;
- static float y = 4.20;
- static bool z = true;
- int a = 1;
- int b = a;
- float c = 4.20;
- float d = c;
- float e = a;
- static float f = c;
- function : int main() {
- int x;
- int y = 1;
- x=2;
- float a;
- float b = 4.20;
- a=3.14;
- bool boo;
- bool poo=true;
- boo=true;
- int fromglobal = ::x;
- float floatfromglobal = ::c;
- float floatfromglobint = ::x;
- cout << x;
- cout << a;
- cout << boo;
- cout << "literal";
- cout << endl;
- cout << x = 3 << x << endl;
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement