C program to demonstrate example structure pointer (structure with pointer) using user define function
belongs to collection: C Structure and Union programs
All Answers
total answers (1)
belongs to collection: C Structure and Union programs
total answers (1)
In this example, we have a structure named item with the pointer structure object named pItem, here we are implementing two user define functions readItem() - to read structure members and printItem() - to print the value of structure members.
Output
need an explanation for this answer? contact us directly to get an explanation for this answer