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
Answer / moolshankershukla
this quadratic equation is not well formet . this is wrong
formet.
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / sanjay kumar
this quadratic equation is well formet . this is wrong
formet.
Is This Answer Correct ? | 3 Yes | 1 No |
#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??
Write a c program to search an element in an array using recursion
why is printf("%d %d %d",i++,--i,i--);
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); }
#include <stdio.h> #define a 10 main() { #define a 50 printf("%d",a); }
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.
how to return a multiple value from a function?
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
Is the following code legal? struct a { int x; struct a *b; }
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
what is the output of following program ? void main() { int i=5; printf("%d %d %d %d %d ",i++,i--,++i,--i,i); }