Advertisement
KuoHsiangYu

詢問問題1

Feb 9th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. /* test1.cpp */
  2.  
  3. #include <iostream>
  4. #include <cstdio>
  5.  
  6. using namespace std;
  7.  
  8. int main(int argc, char *argv[]) {
  9.     int x = 0;
  10.     if (x = 0 || x == 0) {
  11.         printf("#1 %d\n", x);
  12.     }
  13.     printf("#2 %d\n", x);
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement