vault backup: 2024-09-18 11:27:12
This commit is contained in:
parent
d79f745691
commit
2f350ffaac
@ -25,4 +25,11 @@ d. `i = 1; j = 2; k = 3;`
|
|||||||
```c
|
```c
|
||||||
printf("%d", i < j || k);
|
printf("%d", i < j || k);
|
||||||
|
|
||||||
|
// Expected output: `1`
|
||||||
|
```
|
||||||
|
|
||||||
|
> 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 )
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user