notes/education/software development/ECE1400/Chapter 8 Exercises.md
2024-10-08 20:43:52 -06:00

286 B

  1. We discussed using the expression sizeof(a) / sizeof(a[0] to calculate the number of elements in an array. The expression sizeof(a) / sizeof(t) where t is the type of a's elements would also work, but it's considered an inferior technique. Why?
  1. Write a declaration of