How to swap 3 numbers without using 4th variable?
Answers were Sorted based on User's Feedback
Answer / 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 |
Explain how do you print an address?
explain what is a newline escape sequence?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
who is the founder of c
19 Answers College School Exams Tests, HP,
Subtract Two Number Without Using Subtraction Operator
write a addition of two no. program with out using printf,scanf,puts .
What does node * mean?
Explain what standard functions are available to manipulate strings?
How do you initialize function pointers? Give an example?
main() { printf("hello"); fork(); }
how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com
print the table 5 in loops