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
Explain what are multibyte characters?
Explain what is the heap?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
how we can make 3d venturing graphics on outer interface
What is uint8 in c?
In C language what is a 'dangling pointer'?
What is the difference between void main and main in c?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is array of structure in c programming?
Explain how are portions of a program disabled in demo versions?
Explain the difference between ++u and u++?
What is variable initialization and why is it important?
How do c compilers work?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)