0
Pointers
1) why do we put Int x = 15 Int *ptr = &X Not int x = 15 Int *ip = &x ?? 2) are pointers really important ?? 3) why when we do cout << &x <<endl; It output random numbers and letters like uehJdf72646 ???
2 Respostas
+ 2
Yes pointers,vector, STL are main in cpp . These things make cpp Programming better . If u have not studied pointer vector templates then u have learned nothing.
Your third statement
cout<<&x<<endl ; &x will print address its not a letters or garbage value. First read concepts about pointers.
0
Thank you for the answer ! ☺️