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
What is an lvalue?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What is the best way to comment out a section of code that contains comments?
How can I find out if there are characters available for reading?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is difference between structure and union in c programming?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Write the syntax and purpose of a switch statement in C.
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What is n in c?
c language interview questions & answer
What is difference between structure and union with example?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What is the equivalent code of the following statement in WHILE LOOP format?
What is a char in c?