Great answer. When I define a pointer I'm using char *p; because this is pointer. It stores an address and points a char value in this address. So, '*' is serving as a pointing device for p address register, (I think) it must be declared with address register.
U
User 9629458
@User 9629458
Posts
-
Why does most C/C++ developer prefers char *c instead of char* c? -
Why does most C/C++ developer prefers char *c instead of char* c?Great answer. When I define a pointer I'm using `char *p;` because this is pointer. It stores an address and points a `char` value in this address. So, '*' is serving as a pointing device for (p) address register, (I think) it must be declared with address register.