+ 1
Whats the output
Int i =10; for(++i ; printf("%d",printf(i)) ; )
1 ответ
+ 2
for (initializationStatement; testExpression; updateStatement) { // codes } this is how a for loop is declared in c programming language.
i = 10; you initialized i but you haven't declared a type for it. in the for loop you put the updateStatement in the place of initializationStatement, instead of a condition you are trying to print something (if it worked that would have been printception). what do you expect the output to be?