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
Does sprintf put null character?
p*=(++q)++*--p when p=q=1 while(q<=6)
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Explain union. What are its advantages?
What is void pointers in c?
What is realloc in c?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Can we increase size of array in c?
a c code by using memory allocation for add ,multiply of sprase matrixes
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is a substring in c?
What are the differences between Structures and Arrays?
can we change the default calling convention in c if yes than how.........?
What is the use of putchar function?
Whats s or c mean?