+ 1

Whats the output

Int i =10; for(++i ; printf("%d",printf(i)) ; )

23rd Jan 2019, 10:38 AM
Shubham Mehta
Shubham Mehta - avatar
1 Antwort
+ 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?
23rd Jan 2019, 10:55 AM
notqueued
notqueued - avatar