It means when file is open in to input mode and to modify or update data at the desired position seekg is been
used
It means when file is open in to input mode and to add data to the desired position seekp is been used
Tells the current position where pointer is used
//int cno -2 byte and char name 20 22 byte
// tellg() will take you to current position as on 3 times
class is Been called so it would take pointer to 66th position(22*3) //size pf c is 22 // so 66/by size of c(22) comes to 3 //As file is open for edit/update or to modify seekg pointer would b used https://www.youtube.com/watch?v=6VLH4oC _E3Y