int *p, x=11, y=13; p=&x; *p=y ; y=12; please explain the values of x,y and p. | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

int *p, x=11, y=13; p=&x; *p=y ; y=12; please explain the values of x,y and p.

25th Aug 2020, 7:24 AM
Harsh Kant
Harsh Kant - avatar
2 Respostas
+ 1
Values will be 13 and 12 first read about reference variable how its working
25th Aug 2020, 7:43 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
25th Aug 2020, 8:10 AM
Hima
Hima - avatar