I have 2 integer in my structure
i hv to write a fixed length binary format in a text file. but what i dont understand is how to do this particular problem. For example, if the value of a is equal to 48, it must be stored as 48 (in decimal)Code:
or 30 (in hexadecimal; in C: 0x30). It must not be stored as the string “48”,
occupying two bytes.