So when writing program, we could not change the size of the array. Later, we might find the size of the array might not big enough or too big. Since, other activities in the program may also request space without calling this allocator, the space that malloc manages may not be contiguous. By calling lseek, the pointer will move to the particular position you want in the file. Subsequent reading and writing will begin at that position.
Second command rewinds the pointer to get back to the beginning.
Print the surname, givenname, email and title of each record. Surname is the second position, given name is the third position, email is the 9 th and title is the 15 th of each record.