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

Answer Posted / moorthy

0
0.300000

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

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how i run the assembly language code

1357


hi i am avinash ,i am doing ma b-tech(cse) final year and i have been detained for 2years due to attendance and i will be finished ma b-tech in 6 years ,plz tell me weather i will be eligible for government jobs like bhel, drdo,or any other private companies

1338


program for inter process communicatin using message sharing in unix c

1309


There are n points and each point enclose with x and y axis form a rectangle and find the point using a program which forms the smallest rectangle?

1431


If memory is allocated to a class,when object of the class is created then how do we use the abstract class methods.coz v cant create obj of abstract class, only reference is created,when the abstract class data and members got the space in memory??

1814






Apply Newton?s method to compute the approximate value of root 2. Start the iteration from x0=1, and obtain two iterations.

1574


requirement:To move display statements in a cobol program to a dataset.These display statements were not in main program but in calling program and we were not allowed to move these info via sysout dd dsn='dataset.name' . please let me know the ways this can be handled

1466


I'm currently placed in Lahore Pakistan. where can i do Microsoft certification. let me know the best place to do.?

1377


how to send request to the direct server rather than proxy server

1470


Give a brief description of the following terms: a) Play head b) Symbol c) Tweening d) ActionScript e) Frame rate f) Library panel g) Masking h) Context – sensitive Property Inspector i) Bandwidth Profiler j) Frame Label

1996


which are the books available in, India for STONE COLUMNS/GRANULAR PILES?

1326


hey frnds..i have taken an emergency interview date of 21st july and my school is starting from 8th sept...i was continuously checking the date from 10 days but was not able to get a normal date...so can i get a rejection on this, that i have taken an emergency date.??????

1342


what is a Additional domain ? what is a child domain?

2351


how configur net and vpn on cisco product

1527


if we give you the job AS A PETROLEUM ENGINEER WHAT WILL YOU DO(that is extraordinary) for our company

2859