Question: Please write a C program to read a paragraph from a text file and print each character in the paragraph in their binary representation. *Reading
Please write a C program to read a paragraph from a text file and print each character in the paragraph in their binary representation.
*Reading paragraph from the file is important so don't miss it.
*It is a beginner assignment so don't use functions and
You can create any dummy file with multiple line paragraph and test if the program is working or not.
Example: The sentence Hi! would be converted to binary and printed as 010010000110100100010001 where H = 01001000, i = 01101001, and ! = 00010001.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
