Advertisement
alwaysdance

Untitled

Mar 3rd, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. static int x = 5;
  2. static float y = 4.20;
  3. static bool z = true;
  4. int a = 1;
  5. int b = a;
  6. float c = 4.20;
  7. float d = c;
  8. float e = a;
  9. static float f = c;
  10. function : int main() {
  11. int x;
  12. int y = 1;
  13. x=2;
  14. float a;
  15. float b = 4.20;
  16. a=3.14;
  17. bool boo;
  18. bool poo=true;
  19. boo=true;
  20. int fromglobal = ::x;
  21. float floatfromglobal = ::c;
  22. float floatfromglobint = ::x;
  23. cout << x;
  24. cout << a;
  25. cout << boo;
  26. cout << "literal";
  27. cout << endl;
  28. cout << x = 3 << x << endl;
  29. return 1;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement