WeAreLegionAnonymous

THANK U

Oct 7th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. WHO EVER JUDT POSTED THIS IS FUCKING AWESOME!!!!
  4.  
  5.  
  6.  
  7.  
  8. final int something;
  9.  
  10. if ( today == Friday )
  11. something = 7;
  12. else
  13. something = 42;
  14.  
  15. final int something;
  16.  
  17. if ( today == Friday )
  18. something = 7;
  19.  
  20. if ( today != Friday )
  21. something = 42;
  22.  
  23. const int something = ( today == Friday ) ? 7 : 42;
  24.  
  25. #include<stdio.h>
  26.  
  27. int main ( void )
  28. {
  29. printf ( "wibblen" );
  30.  
  31. {
  32. const int x = 10;
  33.  
  34. printf ( "x = %dn", x );
  35. }
  36.  
  37. return 0;
  38. }
  39.  
  40. const int foo;
  41. foo = 4;
  42.  
  43. int * const foo;
  44. foo = 4;
  45.  
  46. int a, b, c;
  47.  
  48. a = 12;
  49. // do some stuff with a
  50.  
  51. b = 17;
  52. // do some stuff with a and b
  53.  
  54. c = 23;
  55. // do some stuff with a, b, and c
  56.  
  57. int a = 12;
  58. // do some stuff with a
  59. {
  60. int b = 17
  61. // do some stuff with a and b
  62. {
  63. int c = 23;
  64. // do some stuff with a, b and c
  65. }
  66. }
  67.  
  68. int a = 12;
  69. // do some stuff with a
  70.  
  71. int b = 17
  72. // do some stuff with a and b
  73.  
  74. int c = 23;
  75. // do some stuff with a, b and c
  76.  
  77. void func()
  78. {
  79. int y;
  80. //do assertions
  81. assert(something);
  82. {
  83. int const x = 5;
  84. // function body
  85. }
  86. }
  87.  
  88. const int x = 2;
  89.  
  90. const int x;
  91.  
  92. x=2;
  93.  
  94. const int * p;
  95.  
  96. extern const int x;
  97.  
  98. const int n = 0;
  99.  
  100. *((int*)&n) = 23;
Advertisement
Add Comment
Please, Sign In to add comment