write a program to find out roots of quadratic equation
"x=-b+-(b^2-4ac0^-1/2/2a"

Answers were Sorted based on User's Feedback



write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"..

Answer / moolshankershukla

this quadratic equation is not well formet . this is wrong
formet.

Is This Answer Correct ?    9 Yes 0 No

write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"..

Answer / sanjay kumar

this quadratic equation is well formet . this is wrong
formet.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Code Interview Questions

#include<stdio.h> int main() { int x=2,y; y=++x*x++*++x; printf("%d",y); } Output for this program is 64. can you explain how this output is come??

1 Answers  


Write a c program to search an element in an array using recursion

1 Answers   Wipro,


why is printf("%d %d %d",i++,--i,i--);

4 Answers   Apple, Cynity, TCS,


main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

1 Answers  


#include <stdio.h> #define a 10 main() { #define a 50 printf("%d",a); }

2 Answers  






How to reverse a String without using C functions ?

33 Answers   Matrix, TCS, Wipro,


1) int i=5; j=i++ + i++ + i++; printf("%d",j);This code gives the answer 15.But if we replace the value of the j then anser is different?why? 2)int i=5; printf("%d",i++ + i++ + i++); this givs 18.

8 Answers   IBPS, Infosys, TCS,


how to return a multiple value from a function?

2 Answers   Wipro,


main() { if ((1||0) && (0||1)) { printf("OK I am done."); } else { printf("OK I am gone."); } } a. OK I am done b. OK I am gone c. compile error d. none of the above

5 Answers   HCL,


Is the following code legal? struct a { int x; struct a *b; }

2 Answers  


programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h

1 Answers  


what is the output of following program ? void main() { int i=5; printf("%d %d %d %d %d ",i++,i--,++i,--i,i); }

10 Answers  


Categories