Answer Posted / ilana
The target is a<-b b<-c c<- a
------------------------------------
a = a+b+c ; // a+b+c b c
c = c+b; // a+b+c b b+c
b = c-b; // a+b+c c b+c
c = a-c; // a+b+c c a
a = a-(b+c) // b c a
Is This Answer Correct ? | 12 Yes | 7 No |
Post New Answer View All Answers
What is the difference between the = symbol and == symbol?
When should we use pointers in a c program?
Explain enumerated types.
What is the sizeof () operator?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
How can I ensure that integer arithmetic doesnt overflow?
Why c language is called c?
Explain the use of 'auto' keyword in c programming?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Explain modulus operator.
Why clrscr is used in c?
Why do we use int main instead of void main in c?
What is a structure and why it is used?
What is keyword in c?
Why can't I perform arithmetic on a void* pointer?