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

prototype of sine function.

2 Answers   Cadence,


What is the use of printf() and scanf() functions?

0 Answers  


Explain what are the standard predefined macros?

0 Answers  


What is the use of #include in c?

0 Answers  


What are the advantages of using linked list for tree construction?

0 Answers  






int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }

2 Answers   Vector,


difference between memcpy and strcpy

1 Answers  


how can i get output like this? 1 2 3 4 5 6

6 Answers   Excel,


what are # pragma staments?

0 Answers  


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

0 Answers  


What is a spanning Tree?

1 Answers   TCS,


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

0 Answers  


Categories