Reading

Homework

Please type all homework and homework assigned this lesson is due at the beginning of lesson 24.

Integrity: Your honor is extremely important. This academic security policy is designed to help you succeed in meeting academic requirements while practicing the honorable behavior our country rightfully demands of its military. Do not compromise your integrity by violating academic security or by taking unfair advantage of your classmates.

  1. What is a pointer in C?
  2. What does the pointer point to in the following code?
uint8_t a = 135;

uint8_t *p;

p = &a;
  1. If I dereference the pointer, what value do I get?
  2. Does the compiler or preprocessor interpret typedef?
  3. Does the compiler or preprocessor interpret #define?
  4. Why do we use struct in C?
  5. What is the difference between a struct and a union?

Resources