+ 1

Explain me code of c language

Char *f; f[2]=2; printf("%d",f[2]);

7th Jul 2019, 4:57 PM
Gaurav Rawat
Gaurav Rawat - avatar
2 Antworten
+ 1
I think its error but its not when i ran it on my pc. I created a pointer variable but on second line i use it like a array f[2] ? Is it possible how?
8th Jul 2019, 3:10 AM
Gaurav Rawat
Gaurav Rawat - avatar