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

sir/medam i had completed my B-TECH(CSE)2011 with 61%.i have to go USA for futhure studies.i dnt know what is steps for do futhure studies in USA so could you please tell me

0 Answers  


How do an incremental process model and certification work together to produce high quality software? In your own words, describe the intent of certification in the clean room software engineering context.

0 Answers  


How can I boldly face the interview? Request:I am eagerly waiting for your replay.

0 Answers   Microsoft,


I need to know the process to add 100 tapes in ATL. Ho to inicialize them to the system? How is all the process i need to follow> Thanks

0 Answers   EDS,


Hi dost here Alok Kumar please send question pattern for NIC at godinall.kumar1@gmail.com or alok.iitb07@gmail.com

0 Answers  






explain in detail about life cycle of thread

0 Answers  


Key difference between ip10 and ip20 of ceragon equipment?

0 Answers   Huawei,


WHAT IS THE MEANING OF FLASHING VD AND FD INSTALLATION PLENIUM BOXES IN CENTRAL AIR CONDITION

0 Answers  


when air is supplied from larger diameter pipe with some pressure if change diameter to small pipe the pressure increases or not? also what is increased pressureor velocity?

0 Answers  


what the bridge id of any switches

0 Answers  


can i get some win vista notes

0 Answers  


hey,,,hi have taken an emergency date of 21st july...i was continuously checking for dates n i was not able to get a normal date n my school is starting from 8th of september...so plz tell me can i get a rejection based on this, that i have taken an emergency date?????

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • 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)