Computer Science, asked by ssanjith, 10 months ago

find the output of.
int i;
for(int i=5;i>10;i++)

Answers

Answered by urprahlad
0

Answer:

Explanation: Based on the topics selected on this question, I’m assuming you’re talking about the C programming language, and not one of the many other languages that uses this type of for loop syntax.

The variable I must have been defined before you can use it. If you don’t do this, your program won’t build, and therefore won’t run, and therefore won’t have any output.

A for statement without any body does not generate any output. If were were to follow your code with either a semicolon or empty curly braces, there is no output generated your posted code.

Now, perhaps you’re interested in what values the ...

Similar questions