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 enumerated data type in c?
Can you return null in c?
Explain what are bus errors, memory faults, and core dumps?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is structure padding in c?
writ a program to compare using strcmp VIVA and viva with its output.
How important is structure in life?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Explain how can I prevent another program from modifying part of a file that I am modifying?
Why is c not oop?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is difference between class and structure?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What are the complete rules for header file searching?
Explain enumerated types.