Home > Back-end >  Why is wrong here?
Why is wrong here?

Time:04-20

Where is wrong?

CodePudding user response:

C90 does not allow parentheses behind the for statement loop variable,
Delete the int and at the beginning of the function body writing int I; Can satisfy all the be fond of of the C compiler,

CodePudding user response:

The int I; Try it for before;
Compilation is to prompt the C99 standard support this kind of writing you ~
Definition into a for loop before I, or add a loop - STD=c99

CodePudding user response:

Add options - STD=c99
  • Related