Hello, I just started learning c++ and i don't see why you should use pointers.
For example, I have the following sourcecode:
char c = 'a';
char* p = &c;
char c2 = *p;
std::cout << c2;
this isn't useful is it? because you can also write :
char c = 'a'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.