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 does a run-time "null pointer assignment" error mean?

2 Answers  


f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?

5 Answers   Geometric Software,


write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.

2 Answers  


Explain what are compound statements?

0 Answers  


give an example of type casting by a simple c program

2 Answers   TCS,






Write a program to check palindrome number in c programming?

0 Answers  


can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance

1 Answers   IBM,


i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);

8 Answers   HCL,


What is operator precedence?

0 Answers  


Which of the following data structures is on average the fastest for retrieving data: 1) Binary Tree 2) Hash Table 3) Stack

3 Answers  


Explain what is a program flowchart and explain how does it help in writing a program?

0 Answers  


who did come first hen or agg

15 Answers   Infosys,


Categories