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

What is the description for syntax errors?

0 Answers  


Explain what happens if you free a pointer twice?

0 Answers  


Write a C program to perform some of the operation which can be performed using Single linked list

1 Answers   Qualcomm,


What are the different types of errors?

0 Answers  


What are the uses of a pointer?

0 Answers  


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

0 Answers  


Can 'this' pointer by used in the constructor?

0 Answers  


what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above

3 Answers   Accenture, Infosys, Wipro,


how to connect oracle in C/C++.

3 Answers   TCS, Wipro,


What are the uses of null pointers?

0 Answers  


Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.

2 Answers  


Can a pointer be null?

0 Answers  


Categories