int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);
Answer Posted / dips
it doesnt have any terminating condition so it will be
infinite loop ,no output
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why is extern used in c?
Are there constructors in c?
Why do we need functions in c?
How can I get random integers in a certain range?
Write a program to print factorial of given number without using recursion?
I have a varargs function which accepts a float parameter?
What are the types of operators in c?
What is register variable in c language?
What is a stream in c programming?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is a stream?
Is it valid to address one element beyond the end of an array?
Describe newline escape sequence with a sample program?
How can I change their mode to binary?
How to explain the final year project as a fresher please answer with sample project