vault backup: 2024-10-01 21:01:24
This commit is contained in:
parent
a8b53fdccb
commit
37759daba4
@ -23,4 +23,13 @@ printf(c);
|
||||
```
|
||||
|
||||
Answer:
|
||||
D is incorrect because `printf` operates on strings.
|
||||
D is illegal because `printf` operates on strings, not `char`s.
|
||||
|
||||
> 6. For each of the following items of data, specify which one of the types `char`, `short`, `int`, or `long`is the smallest one guaranteed to be large enough to store the item.
|
||||
|
||||
Answer:
|
||||
A. Days in a month: `char`
|
||||
B. Days in a year: `short`
|
||||
C. Minutes in a day: `short`
|
||||
D. Seconds in a day: `long`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user