int main(){
float f=8.0;
if(f==8.0)
printf("good");
else
printf("bad");
}
what is the answere and explain it?

Answer Posted / jayaraj.s

good is the result. because we declare and compare the same
value in the program.so alwaye if condition is true. we no
need to put else condition for these type of comparisions.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is include directive in c?

642


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1539


What are the two types of structure?

569


What is the use of linkage in c language?

611


How to throw some light on the b tree?

600






What does the characters “r” and “w” mean when writing programs that will make use of files?

849


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3498


Is r written in c?

722


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

761


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

664


How do you define CONSTANT in C?

647


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1477


What are the types of type qualifiers in c?

644


How do you view the path?

660


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

656