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
What is include directive in c?
#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??
What are the two types of structure?
What is the use of linkage in c language?
How to throw some light on the b tree?
What does the characters “r” and “w” mean when writing programs that will make use of files?
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.
Is r written in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
How do you define CONSTANT in C?
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
What are the types of type qualifiers in c?
How do you view the path?
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?