How to swap two values using a single variable ?
condition: Not to use Array and Pointer ?
Answer Posted / vignesh1988i
GOOD MORNING,
swapping itself means that there must be minimum 2
variables ... if there is the way for above , that one is
not called as swapping......
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
What is masking?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
i got 75% in all semester am i eligible for your company
Why isnt any of this standardized in c?
What is the value of h?
What does double pointer mean in c?
What is difference between stdio h and conio h?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Why do some versions of toupper act strangely if given an upper-case letter?
What was noalias and what ever happened to it?
What is the size of empty structure in c?
What are the two types of functions in c?
Why clrscr is used in c?
What is the general form of #line preprocessor?