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 |
what is the code of the output of print the 10 fibonacci number series
{ int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }
String reverse with time complexity of n/2 with out using temporary variable.
main() { int i =0;j=0; if(i && j++) printf("%d..%d",i++,j); printf("%d..%d,i,j); }
what is the output of following program ? void main() { int i=5; printf("%d %d %d %d %d ",i++,i--,++i,--i,i); }
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
void main() { int i; char a[]="\0"; if(printf("%s\n",a)) printf("Ok here \n"); else printf("Forget it\n"); }
Program to Delete an element from a doubly linked list.
4 Answers College School Exams Tests, Infosys,
create a login program that ask username and password. if you input username or password 3 times wrong, the program will terminate else the program will prompt a message "congratulations"
Write, efficient code for extracting unique elements from a sorted list of array. e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).
13 Answers Intel, Microsoft, TCS,
why java is platform independent?
struct aaa{ struct aaa *prev; int i; struct aaa *next; }; main() { struct aaa abc,def,ghi,jkl; int x=100; abc.i=0;abc.prev=&jkl; abc.next=&def; def.i=1;def.prev=&abc;def.next=&ghi; ghi.i=2;ghi.prev=&def; ghi.next=&jkl; jkl.i=3;jkl.prev=&ghi;jkl.next=&abc; x=abc.next->next->prev->next->i; printf("%d",x); }