int main()
{
int i;
for(i=0; i<5; ++i++)
{
printf(Hello);
}
return 0;
}
Answers
Answered by
0
Explanation:
This will not print anything because it will not enter the for loop. What is written between ; and ; is called the condition. When you write a condition there, like i<n or i>n or i==n, etc., it is either false or true. So, the loop runs as long as the statement is true. When the condition becomes false, the loop exits, meaning the program counter will not go into the loop’s scope.
example:
for(i=0; i<10; i++)
{
printf(“hello\n”);
}
Subscribe me "Shiva - Web helper"
please for html,CSS, java and xml
Similar questions