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

output is

-128

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are actual arguments?

649


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

922


What type of function is main ()?

591


Can the “if” function be used in comparing strings?

599


What is the significance of c program algorithms?

685






Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

580


What are static variables in c?

631


What is c language used for?

561


Is c procedural or functional?

590


What is meant by type casting?

631


What is conio h in c?

629


What do you mean by invalid pointer arithmetic?

637


What is nested structure with example?

629


Explain what is the benefit of using #define to declare a constant?

614


What is use of pointer?

589