Question: complete the table Code What's written to the file? (show the bits) What's in the Memory? (show the bits) N/A char ch = 'A'; 0
complete the table
Code What's written to the file? (show the bits) What's in the Memory? (show the bits) N/A char ch = 'A'; 0 1 0 0 0 0 0 1 01000001 fprintf(fp, "A"); N/A char ch = 'A'; fprintf(fp,"%c", ch); fprintf(fp, "5"); char ch = '5'; fprintf(fp,"%c", ch); .nt i = 5; int i = 5; fprintf(fp,"%d", i); int i = 5; fwrite(&i, sizeof(int), 1, fp); char ch = '5'; fwrite(&c, sizeof (char), 1, fp)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
