How would we define a pointer to double price 18.99
?
Fantastic. Remember to use the same type as the variable we are pointing to.
You need a *
before the pointer's variable name and the &
before the name of the variable we are pointing to.
Close! Remember to use the same type as the variable we are pointing to.
You need a *
before the pointer's variable name and the &
before the name of the variable we are pointing to.