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 following program?
#include<stdio.h>
void main()
{
float x=1.1;
while(x==1.1)
{
printf("\n%f",x);
x=x-0.1;
}
}

Answer Posted / gangadhar

first time loop will satisfy and second time loop will
not satisfy bcoz x become zero....

Is This Answer Correct ?    0 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use break in c?

935


What are the types of macro formats?

1059


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1227


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2145


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2813


What is the use of function overloading in C?

1100


What is the most efficient way to store flag values?

1126


Write a code of a general series where the next element is the sum of last k terms.

987


Why C language is a procedural language?

976


What is the difference between ++a and a++?

1153


What is difference between constant pointer and constant variable?

1204


Why we use void main in c?

1099


Explain how are portions of a program disabled in demo versions?

1074


What is a rvalue?

1140


What are the rules for the identifier?

1114