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

Answer Posted / pankaj bhalerao

i run this and i found that the answer is zero because a
is declared as float and it is print ans integer and its
mantissa part is also a float therefore the output is zero.

thank you...

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is a null pointer used?

641


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2173


Explain b+ tree?

629


What is c language & why it is used?

582


Explain what is a const pointer?

642






Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2652


What is union and structure in c?

618


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1906


What is the time and space complexities of merge sort and when is it preferred over quick sort?

676


What are terms in math?

594


What are register variables? What are the advantage of using register variables?

687


Explain how do I determine whether a character is numeric, alphabetic, and so on?

654


What does typedef struct mean?

662


please explain every phase in the "SDLC" in the dotnet.

2180


What is calloc() function?

626