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

Tell me when is a void pointer used?

1172


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

1205


What are the primitive data types in c?

1070


What is a macro in c preprocessor?

1095


Write a program to show the change in position of a cursor using c

1053


What is a ternary operator in c?

1119


How does struct work in c?

1081


What is a program flowchart and explain how does it help in writing a program?

1304


Explain what will the preprocessor do for a program?

1063


Explain indirection?

1125


What is c standard library?

1201


how to count no of words,characters,lines in a paragraph.

4423


How can I swap two values without using a temporary?

1099


What are multidimensional arrays?

1115


Why do we write return 0 in c?

1049