diff options
Diffstat (limited to 'CSAPP/chap2/2_26.c')
| -rw-r--r-- | CSAPP/chap2/2_26.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CSAPP/chap2/2_26.c b/CSAPP/chap2/2_26.c new file mode 100644 index 0000000..15b605a --- /dev/null +++ b/CSAPP/chap2/2_26.c @@ -0,0 +1,9 @@ +#include <stdio.h> + +int main(void){ + unsigned a, b; + a = 3; + b = 5; + printf("%d\n", !!(((int)a - (int)b) > 0)); + return 0; +} |
