0

Because this? Jajajaja

#include <iostream> using namespace std; int main() { int space; int *puntero = &space ; cout<<puntero; return 0; } If i write "puntero" puntero print the direction of "space" But If i write "*puntero" His print a number 50284 o algo así jajaja Why??? And sorry for my bad english :'v

10th Jul 2020, 2:45 AM
Sam Vásquez
Sam Vásquez - avatar
1 ответ
+ 1
google for: pointers c++ this will help you out. basically I believe you are using a pointer which will print the memory adress of the variable instead of the variable itself
10th Jul 2020, 5:35 AM
Brave Tea
Brave Tea - avatar