File Operation Functions:
1. fopen()
Opens a new/existing file
2. fwrite()
Writes an unformatted data to file
3. fprintf()
Prints a formatted value to a file
4. fread()
To read the data from a file
5. fclose()
Closes the file
User Defined Functions:
Function: Set of reusable statements is called function which has to return something.
Syntax:
vuser_init()
{
Return 0;
}
Note: Dividing you script statements into multiple functions is called modular approach
1. fopen()
Opens a new/existing file
2. fwrite()
Writes an unformatted data to file
3. fprintf()
Prints a formatted value to a file
4. fread()
To read the data from a file
5. fclose()
Closes the file
User Defined Functions:
Function: Set of reusable statements is called function which has to return something.
Syntax:
vuser_init()
{
Return 0;
}
Note: Dividing you script statements into multiple functions is called modular approach
No comments:
Post a Comment