Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / rajendra.p (honeywell)

-128 is correct answer

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of functions are there in c?

1066


What are the types of i/o functions?

1256


write a c program for swapping two strings using pointer

2569


How do you use a 'Local Block'?

1122


What is console in c language?

1051


What is d scanf?

1029


Explain the properties of union.

1022


What is difference between structure and union in c?

926


What is the main difference between calloc () and malloc ()?

1099


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3844


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1204


Can include files be nested? How many levels deep can include files be nested?

1091


i have a written test for microland please give me test pattern

2667


Tell me when is a void pointer used?

1105


Simplify the program segment if X = B then C ← true else C ← false

2964