focus on programming... what is the problem of this code? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

focus on programming... what is the problem of this code?

double x = 19.34; double xPtr = &x; cout << xPtr << endl;

12th Mar 2017, 4:48 PM
mahmood motallebi
mahmood motallebi - avatar
1 ответ
+ 3
double x = 19.34; double* xPtr = &x; cout << *xPtr << endl; you have forgotten *
12th Mar 2017, 4:55 PM
kibbekPL
kibbekPL - avatar