Abstract
A structure is a collection of variables within one variable. Structures can be termed as a variable that aggregates variables of different or similar types. The correlation of structures and pointers is very strong. A structure provides a very intuitive way to model user-defined entities (records, packet formats, image headers, etc.). This chapter explains the basics of structures and their use with pointers; it also explains how structures can be used to implement data structures like trees, linked lists, etc. in depth.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Naveen Toppo
About this chapter
Cite this chapter
Toppo, N., Dewan, H. (2013). Pointers to Structures. In: Pointers in C. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5912-1_6
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5912-1_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5911-4
Online ISBN: 978-1-4302-5912-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books