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...

main()
{
float a=3.2e40;
printf("%d",a);
}

Answer Posted / deepali chandra

the o/p=0
because here we are trying to print the value in int form
which has been of float datatype.since float has a higher
precendence over int therefore it will give the o/p=0 and
similarly after this every output will be =0.this is the
function of the compiler that we cannot print the value of
a higher data type using a lower datatype.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where static variables are stored in memory in c?

947


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

2106


What are 'near' and 'far' pointers?

982


What is a structure in c language. how to initialise a structure in c?

1019


What is data structure in c and its types?

1017


What is the difference between array and pointer?

965


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2357


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1170


What is a pointer and how it is initialized?

1081


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1117


Explain the use of 'auto' keyword

1072


Do pointers need to be initialized?

1017


How does free() know explain how much memory to release?

1012


What are the different types of endless loops?

1027


What is the difference between typedef struct and struct?

1065