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 / aryan

-128

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of ?: Operator?

653


What is the scope of an external variable in c?

556


What is scope rule of function in c?

537


Is c procedural or functional?

572


Calculate 1*2*3*____*n using recursive function??

1503






What is the correct code to have following output in c using nested for loop?

601


What does a pointer variable always consist of?

649


What is getch?

616


What is a constant?

620


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1502


Explain what is a pragma?

575


Can a pointer be static?

603


how could explain about job profile

1443


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2481


How can I remove the trailing spaces from a string?

598