main()
{
float f1=10.5;
double db1=10.5
if(f1==db1)
printf("a");
else
printf("b")
}

Answers were Sorted based on User's Feedback



main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("..

Answer / sweet angel

the answer is a.

Is This Answer Correct ?    12 Yes 1 No

main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("..

Answer / jayashree

b

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More C Interview Questions

How can you avoid including a header more than once?

0 Answers  


How can you determine the maximum value that a numeric variable can hold?

0 Answers  


Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.

1 Answers   TCS,


How to set file pointer to beginning c?

0 Answers  


how to copy a string without using c function

5 Answers  






Why flag is used in c?

0 Answers  


Do you have any idea how to compare array with pointer in c?

0 Answers  


What is the maximum no. of arguments that can be given in a command line in C.?

0 Answers   HCL,


How to declare a variable?

0 Answers  


Is null always defined as 0(zero)?

0 Answers  


Write a code to generate a series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,


Explain what will the preprocessor do for a program?

0 Answers  


Categories