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=0.3;
printf("%d\n%f",a,a);
}

Answers were Sorted based on User's Feedback



main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / moorthy

0
0.300000

IN FIRST CASE, DECIMAL PART ARE TRUNCATED. SO THAT ANSWER
IS ZERO.

Is This Answer Correct ?    6 Yes 2 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / vikram panda

0,0.000000

Is This Answer Correct ?    3 Yes 1 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / sam

9208
0.000000

Is This Answer Correct ?    1 Yes 1 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / kittu

JUNK VALUE
0.300000

Is This Answer Correct ?    0 Yes 3 No

main() { float a=0.3; printf("%d\n%f",a,a); }..

Answer / ravi kant sharma

Garbage Value
2.000000

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Engineering AllOther Interview Questions

i m doing engg in IT .for getting job which courses i have to do?

0 Answers   HCL,


a particle moving in a straight line with constant acceleration has a velocity of 8m/s at one instant and 3 seconds later it has a velocity of 2m/s.find its acceleration.

1 Answers  


I DO HAVE APAST EXPERIENCE IN MY(SCHOOL/COLLEGE)WHERE I'VE HANDLED RESPONSIBILITY LIKE

0 Answers   Oracle,


what are the steps u follow to create an custom idoc program in which environment u create the program?

0 Answers   HCL,


what is the port address in ICMP?

9 Answers   Yahoo,


Is printf(?%d?,p); valid?

0 Answers  


what is the cycle between AHU and Chiller

0 Answers   RotoPower,


what is the pri request of binary search

0 Answers  


Full form of Abt Meter

2 Answers   ABB,


why pegging is required for deaerator in power plant nd why maintain the constant pressure in deaerator 3.5 kg/cm2.

2 Answers   Adani, Bell,


how to calculate when (-) sign givcn in the power number for example 125^-5

1 Answers  


Why Mother Board is called Mother Board & not Father Board?

12 Answers   Microsoft, Precision Infomatic, SoftStream,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4456)
  • Electrical Engineering Interview Questions Electrical Engineering (16639)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)