Advertisement
lIlIlIlIIlI

Introduction_IfElseTest_2

Sep 9th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(){
  4.     int a;
  5.     int n;
  6.     if (printf("") && printf("hi\n") ){
  7.         a = 1;
  8.     } else a = -1;
  9.     printf("a = %d\n", a);
  10.     return 0;
  11. }
  12.  
  13. /*
  14. 輸出:
  15. a = -1
  16.  
  17. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement