+ 1

how can i assign value to a variable using memory address in c++m

6th Nov 2020, 1:30 PM
SHAHAB SAQIB
SHAHAB SAQIB - avatar
2 Respostas
+ 1
u have to use pointer e.g int x; int *xptr = &x; *xptr = 10;
8th Nov 2020, 4:40 PM
Sacalivin Obiri
Sacalivin Obiri - avatar
0
thanks brother.
9th Nov 2020, 3:12 AM
SHAHAB SAQIB
SHAHAB SAQIB - avatar