Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 406 Bytes

File metadata and controls

6 lines (5 loc) · 406 Bytes

Struct Pointers Understanding

Originally published: 2020-03-16 5:00:00 Last updated: 2020-03-16 5:00:00 Author: Prithi Pal Singh

This is a piece of C code I wrote to understand using structs, pointers (normal and double pointers) and their usage around. So for different scenarios, like accessing struct using single pointer, 2d dynamically increasing space using double pointers and other cases also.