+ 2

Char *ptr= "how can string store in pointer variable";

Explain me how can we store string in pointer variable and access them in c language???

23rd Jun 2019, 6:21 AM
Gaurav Rawat
Gaurav Rawat - avatar
2 Respuestas
+ 4
*ptr=a For example consider that a is stored in the memory location 2000. The ptr will point the address 2000 for getting a. I hope u understand 😁
5th Jul 2019, 10:19 AM
Shan Mugam
Shan Mugam - avatar
+ 1
kk
2nd Jul 2019, 12:30 PM
Pria Sains