I ran into a few problems while reading and writing some data to a file and here are the questions that popped up :
1. when I write a structure member which is equal to zero into a file using fwrite (file opened for writing in binary mode) does that compiler write it as null or zero ?
2. If the above wrriten value is written as zero and when i open the file for reading using fread (file opened in binary mode) does the compiler read it as a integer zero or a NULL ?
any help would be appreciated !!!!