Executing the above program outputs the following result:
The number of bytes written:
23
Write successful
File closed successfully!!
Executing the above program outputs the following result:
The number of bytes written:
23
Write successful
File closed successfully!!