Can't a pointer be also an expression? Like if I would use a pointer in the following in C
Then do something likeCode:void doit(char *s){ /*some code*/ }
Wouldn't this be an expression? However, if was C++, then wouldn't it be a variable?Code:doit(&len);
Also, can't a pointer be also stored on the heap?