Podcast
Questions and Answers
Which format specifier is used to display a single character in C?
Which format specifier is used to display a single character in C?
- Percent c (correct)
- Percent d
- Percent s
- Percent f
What is the precision of a double in C?
What is the precision of a double in C?
- 32 bits
- 16 bits
- 8 bits
- 64 bits (correct)
How many significant digits can be stored in a float in C?
How many significant digits can be stored in a float in C?
- 6 to 7 (correct)
- 2 to 3
- 8 to 9
- 4 to 5
Which data type is used to store a whole integer in C?
Which data type is used to store a whole integer in C?
How many bytes of memory does a double use in C?
How many bytes of memory does a double use in C?