What is the output of the program given below

#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}

Answer Posted / deepanjali

infinte loop

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a MAC Address?

624


What are header files and what are its uses in C programming?

625


What is the difference between variable declaration and variable definition in c?

562


Which is best book for data structures in c?

594


Add Two Numbers Without Using the Addition Operator

351






What is null character in c?

684


what value is returned to operating system after program execution?

1597


What does node * mean?

705


What is the difference between constant pointer and constant variable?

742


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

899


Write a program to reverse a linked list in c.

639


How do you print only part of a string?

609


What is return type in c?

635


What the advantages of using Unions?

667


what is uses of .net

1272