Storing the integer 5 value in a binary file: 00000000 00000000 00000000 00000101, How do you write value5 to this formation 0000101?
Storing the integer 5 value in a text file: 00110101, How do you write value5 to 00110101? How?
Could you please write the steps with explaination? Provide other example if possible