+ 1

How to access array of structure through pointers.

For example I want to store student data in one struct student and then create an array of that students and write on that array through pointer to that array. Is it possible. If yes,can you link some aource to learn it.?

16th Sep 2018, 1:04 PM
Maleeha Khalid
Maleeha Khalid  - avatar
2 odpowiedzi
+ 5
You need to use arrow operator '->' for that just like Károly Komjáti showed in his code
16th Sep 2018, 8:25 PM
blACk sh4d0w
blACk sh4d0w - avatar
16th Sep 2018, 8:23 PM
Károly Komjáti
Károly Komjáti - avatar