Advertisements
Advertisements
प्रश्न
Explain the process File handling.
थोडक्यात उत्तर
Advertisements
उत्तर
- File handling is an important part of any web ap¬plication. You often need to open and process a file for different tasks.
- File handling is needed for any application. For some tasks to be done file needs to be processed.
- File handling in RHP is similar as file handling is done by using any programming language like C.
- Five major operations can be performed on file are:
- Creation of a new file.
- Opening an existing file.
- Reading data from a file.
- Writing data in a file.
- Closing a file.
- Steps for Processing a Fite
- Declare a file pointer variable.
- Open a file using open() function.
- Process the file using the suitable function.
- Close the file using fclose() function.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
