- The indirection operator (*) is used to access the value of a variable by its ptr
- * can be remembered as value at address
- int n = *p // int *p = &quantity is done
- int n = *&quantity // is = quantity
- *5445 where 5445 is a valid location does not yield the content at that address
- *x=25 changes value of f indirectly
No comments:
Post a Comment