Page 1 of 1
1) Find the errors in the following codes: int main() { int { Hanging Indent #include ; int a = 1;b = 4; c, d C + = a++;
Posted: Fri Jul 01, 2022 5:45 am
by answerhappygod

- 1 Find The Errors In The Following Codes Int Main Int Hanging Indent Include Int A 1 B 4 C D C A 1 (83.16 KiB) Viewed 42 times
1) Find the errors in the following codes: int main() { int { Hanging Indent #include ; int a = 1;b = 4; c, d C + = a++; d = 5--; printf("Please enter an inter: "); scanf("%f", num) d = (num = 0? a+b:a+b+c); sum = (a

c:d: a+b+c+d); printf("Sum is %d: \n", Sum); Return 0; } 2) Assume a, b, c and n are float variables, and d, e, fand m are integer variables, what is the result of each “printf” function in the following program? Please do not run IDE to get the results.