Hello,
Can someone help me understand what is (if it is) the difference between string* myStr
and string *myStr
?
Or any other type of definitions like that: int* myValue
vs int *myValue
, char* myChar
vs char *myChar
.
The position of the "star" is confusing me. I only used pointers like this: int *myInt
.
I've also seen the star in the middle int * myInt
.
I tried google first, but shows a lot of non-related stuff.
Thank you!