
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Go through the topic File handling then perform the following tasks.
Through dynamic memory allocation make a file of port # & IP address. The port # & IP address will be entered by user using structures.
Struct1line{
Char IP;
int port;
};
TASK #2:
Create a file by your own open it in read only mode. And display its IP address a and port numbers and display them on screen in the same format.