Write a C program that defines and declares a pointer type s

Write a C program that defines and declares a pointer type structure containing three pointer members. Then prompts the user to enter three integers that the program will store in the addresses pointed by the pointers. Also, displays the integers on the screen. Thank you!

Solution

output:

Enter number of persons: 2
Enter name, age and weight of the person respectively:
Adam
2
3.2
Enter name, age and weight of the person respectively:
Eve
6
2.3
Displaying Information
Adam   2   3.20
Eve   6   2.30

Write a C program that defines and declares a pointer type structure containing three pointer members. Then prompts the user to enter three integers that the pr

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site