Question: I have having trouble degbugging and fixing my compiler errors. In line 14, I get the error: expected expression before 'int'. In line 19, I
I have having trouble degbugging and fixing my compiler errors.
In line 14, I get the error: expected expression before 'int'.
In line 19, I get the error: expected =, ,, ;, asm or __attribute__ before
In line 19, I also get the warning: unused variable i. Don't know why since I am placing the number read by scanf into the array at position i during each iteration.
Here's my code.
And In line 6, I get the warning: unused variable "intArray'. Don't know why since I am accessing the array in the for loop and assigning it the number scanf reads in.
1 2 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
