Program 3. Write a program to read and write and student objects with variable-length records using any suitable record structure. Implement pack(), unpack(), modify() and search() methods. Algorithm: Step 1: Start Step 2: Enter the choice 1.Write 2. Display 3. Search 4. Modify 5.Exit case 1: write() //Read the name, usn, age, sem, branch case 2: unpack() display() case 3: unpack() search() case 4: unpack() search() modify() Step 3: Stop Algorithm: write() Step 1: Start Step 2: Enter the name, usn, age, sem, branch Step 3: call pack(t) function Step 4: Stop Algorithm: pack(t) Step 1: Start Step 2: Open a file hello.txt Step 3: copy the strings- name, usn, age, branch and concatenate in buffer Step 4: Now read length of buffer -strlen(buffer) Step 5: close a file Step 6: Stop Algorithm: unpack() Step 1: Start