write a program to swap Two numbers without using temp variable.
Answer Posted / nagakishorebabu
a=a+b;
b=a-b;
a=a-b;
printf("a %dand b %dis :",a,b);
| Is This Answer Correct ? | 181 Yes | 43 No |
Post New Answer View All Answers
What does typedef struct mean?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Did c have any year 2000 problems?
Explain the ternary tree?
Are bit fields portable?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is far pointer in c?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
How reliable are floating-point comparisons?
Can you write the algorithm for Queue?
What is the difference between text files and binary files?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What is structure in c definition?
What is malloc and calloc?
Can you please explain the scope of static variables?