a. Is the following legal? int a, b; int* ptr; int* ptrptr; ptr = &a; ptrptr = &ptr; b. What about? int a, b; int* ptr; int** ptrptr; ptr = &a; ptrptr = &ptr; What is the value of: c. ptr d. *ptr e. *ptrptr f. *ptrptr == ptr g. **ptrptr h. ptrptr == ptr Solution: a. This won't compile because you the type of &ptr is a pointer to an int pointer where ptrptr is declared to be an int pointer. b. Yes, this solves the problem above. ptrptr is a pointer to an int pointer. c. the address of a d. the value of a, which currently is whatever was in the memory location where a resides e. the address of ptr, that is where ptr is stored f. 1 (true) g. the value of a h. won't compile (you're trying to compare an int** with an int*)