We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
← All tracks
0 / 4
Values, Types, Initialisation
C++The layer everything else sits on, and the one where C's defaults are still wrong forty years later. Fixed-width integers, narrowing, signedness, and what `auto` actually deduces.
This track is written for C++, which isn't the mode you're browsing in.
0
/ 4 solved
- 1. Not solved yet. int is not a width
- 2. Not solved yet. The comparison that is always true
- 3. Not solved yet. Braces refuse to lose your data
- 4. Not solved yet. auto copies, and does not say so
Check yourself
4 questions · one attempt eachThese do not count toward finishing the track. They are here to catch the things that are easy to read past.
What does -1 < 1u evaluate to?
int s = -1;
unsigned u = 1;
s < u;
Question 1 of 4