Day 15 Recap Questions
  1. What is two’s complement representation?
  2. How does representation of integers and floating-point values differ in C?
  3. What is type narrowing?
  4. What is type promotion?
  5. What is type casting?
  6. What is the output of the code segment below?
int n = 32065;
float x = 24.79;
printf("int n = %d but (char) n = %c\n", n, (char) n);
printf("float x = %f but (long) x = %ld\n", x, (long) x);