We Recommend

C++ The Core Language C++ The Core Language
C++: The Core Language is for C programmers transitioning to C++. It's designed to get readers up to speed quickly by covering an essential subset of the language. The subset consists of features without which it's just not C++, and a handful of others that make it a reasonably useful language.


Posted By

darkphotn on 01/13/08


Tagged

c code crazy elite wtf


Versions (?)


Crazy C Code


Published in: C++ 


Yes, it's valid code.

Created by myself, unless otherwise noted.


  1. for(i=0,j=(n-1);(n-i);j=i++) (i)?f(j,i):(j); f(j,0);
  2.  
  3. /////////////////////////////////
  4.  
  5. x^=y;
  6. y^=x;
  7. x^=y;
  8.  
  9. ////////////////////////////////
  10.  
  11. x = 1+1;
  12. printf("%d%d%%", x<<1|x>>1, x=='x');
  13.  
  14. /////////////////////////////
  15.  
  16. x = 1<<(4|1);
  17. x|=x>>(6&3);
  18. x|=x>>((5^2)&(2+2));

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: coldpeer on May 11, 2008

why there is here?

You need to login to post a comment.