+ 1

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

double* realPtr; long* integerPtr; integerPtr = realPtr;

12th Mar 2017, 4:36 PM
mahmood motallebi
mahmood motallebi - avatar
4 Antworten
+ 1
in this question we have to cast double* to long*... what we have to do is: integerPtr = (long*) realPtr; enjoy casting :)
15th Mar 2017, 10:45 AM
mahmood motallebi
mahmood motallebi - avatar
0
@mahmood which language?
12th Mar 2017, 5:14 PM
Vishal Prajapati
0
c++
12th Mar 2017, 5:18 PM
mahmood motallebi
mahmood motallebi - avatar
0
different type error
15th Mar 2017, 7:21 AM
羅白
羅白 - avatar