- Problem Description A Find The Error In The Following Code Add A Comment Next To Each Line Causing An Error The Comme 1 (40.74 KiB) Viewed 22 times
Problem Description A. Find the error in the following code. Add a comment next to each line causing an error. The comme
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem Description A. Find the error in the following code. Add a comment next to each line causing an error. The comme
Problem Description A. Find the error in the following code. Add a comment next to each line causing an error. The comment should explain why that line or part of the line is causing an error Fix the code so that it runs without errors and produces reasonable output. Submit the fixed code for grading #include <stdio.h> int main () char i = 'j'; char f = 'n'; double x='55' printf("%c is short for floating point", x); printf (" Assci code of %c=%d ", i, i); return 0; B. The code below does not print 33, why? Submit your answer for grading #include <stdio.h> int main () { double a '99'/3; // DO NOT MODIFY ANYTHING BELOW THIS LINE. printf(" %1f", a); return 0; C. The code below does not print the character 'Z', why? Submit your answer for grading #include <stdio.h> int main () { char var 'Z';