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 40 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 = (ac: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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!