vault backup: 2024-09-18 11:32:12

This commit is contained in:
zleyyij 2024-09-18 11:32:12 -06:00
parent 2f350ffaac
commit e31c8eaaae

View File

@ -31,5 +31,12 @@ printf("%d", i < j || k);
> 4. Write a single expression whose value is either `-1`, `0`, or `1` depending on whether `i` is less than, equal to, or greater than `j`, respectively.
```c
(i )
```
/*
If i < j, the output should be -1.
If i == j, the output should be zero
If i > j, the output should be 1.
*/
(i > j) - (i < j)
```
> 6. Is the following `if` statement lega