C Programming05 marksFwrite and fread functions
Explain the syntax of fwrite() function. Write a program to create a file named "student.txt" and stores record of any five students given by user.
Explain the syntax of fwrite() function. Write a program to create a file named "student.txt" and stores record of any five students given by user. [5]
Parameters: Parameter Description ------------------------ ptr Pointer to the block of memory (data to be written) size Size in bytes of each element to be written count Number of elements to be written stream Pointer to the FILE object where data is written Return Value: - Returns the total numb...