I have names of certain students and their ages stored in a text file
'records.txt'.
LIKE:
John 22
Paul 21
Sam 24
Harry 23
Now i want to store these ages and names in a structure 'records(r)' directly from the file. (Here i am not taking any input from the user)
as r.name & r.age.
Any clue to the solution???