Table of Contents
Intro to Programming Teaching Assistant --- week5
Agenda
format specifiers and sizes of different data types, finished operator precedence and associativity
Notes
-
Internal working of (x++)++
-
Solution
- Increment / decrement operators work only on l-values. Read this
-
$ \ $
-
why not unsigned floats?
- Read this
$ \ $
-
How to use aliased names without triggering the alias?
- Use a backslash before the aliased name
$ \ $
-
unsigned long or long unsigned?
- Order doesn’t matter
- Read this
$ \ $
-
format specifier for float?
- Order doesn’t matter
- Read this post and this answer specifically
- It talks about how the format specifier doesn’t matter too much for printf but it does for scanf
$ \ $