SHARE
TWEET

Untitled

a guest Jun 20th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. long flippingBits(long n) {
  2.     return (unsigned)(~n);
  3. }
  4.  
  5. int main(){
  6.     long a = flippingBits(someNumber);
  7.     ...
  8. }
  9.      
  10. unsigned long flippingBits(long n) {
  11.     return (~n);
  12. }
  13.  
  14. int main(){
  15.     unsigned long a = flippingBits(someNumber);
  16.     ...
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top