C program to read and print the student details using structure and Dynamic Memory Allocation.
In this program we will create a structure with student details and print the inputted details. Memory to store and print structure will be allocated at run time by using malloc() and released by free().
Enter name: Mike Enter roll number: 1 Enter percentage: 87.50 Entered details are: Name: Mike, Roll Number: 1, Percentage: 87.50need an explanation for this answer? contact us directly to get an explanation for this answer