Advertisement
lkkqoolp123

Untitled

Oct 25th, 2014
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // 1025.cpp : 定義主控台應用程式的進入點。
  2. //
  3.  
  4. #include "stdafx.h"
  5.  
  6.  
  7. int _tmain(int argc, _TCHAR* argv[])
  8. {
  9.     int a = 0x89abcdef;
  10.     printf("%x\n", a & 0x0fffffff);  //and
  11.  
  12.     printf("%x\n", a ^ 0x0000000f);  //xor
  13.  
  14.     printf("%x\n", a | 0x55555555);  //or
  15.  
  16.     printf("\"Hello world\"\"Hello world\"\"Hello world\"");
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement