focus on programming... what is the problem of this code? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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