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

1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

1 Answers  


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1 Answers   IBM,


Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?

2 Answers   TCS,


what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year

7 Answers   TCS,


What are high level languages like C and FORTRAN also known as?

0 Answers  






write a program to convert a expression in polish notation (postfix) to inline (normal)

0 Answers   Siemens,


What is the meaning of 2d in c?

0 Answers  


Explain how do you search data in a data file using random access method?

0 Answers  


Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?

1 Answers   HCL,


What is function prototype in c language?

0 Answers  


How can you call a function, given its name as a string?

0 Answers  


Is it possible to pass an entire structure to functions?

0 Answers  


Categories