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


Please Help Members By Posting Answers For Below Questions

What is the value of a[3] if integer a[] = {5,4,3,2,1}?

677


How do you initialize pointer variables?

616


What is data type long in c?

627


What is a 'null pointer assignment' error?

728


What is a pointer variable in c language?

649






Write a program for finding factorial of a number.

637


What is queue in c?

582


What are pointers? Why are they used?

632


What kind of structure is a house?

562


What are data types in c language?

589


What is the data segment that is followed by c?

617


What are reserved words with a programming language?

606


Difference between Function to pointer and pointer to function

636


How can a string be converted to a number?

521


Which are low level languages?

640