Question: Given below is a structure definition. struct Contact ( char name[20] int phone_num; int postalcode; The members name, phone_num and postalcode are used to store
Given below is a structure definition. struct Contact ( char name[20] int phone_num; int postalcode; The members name, phone_num and postalcode are used to store data such as name (e.g. Alan), phone number (e.g. 87654345) and postal code (e.g. 743156) respectively. Write the C code to declare a structure named mycontacts of type struct Contact and assign the following member data to the structure you have declared. (Assume that headers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
