wat are the two methods for swapping two numbers without
using temp variable??
Answer Posted / abhishek karnani
int a=10,b=5;
a=a+b-(b=a);
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is local and global variable in c?
Write a program with dynamically allocation of variable.
Do pointers need to be initialized?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Is it possible to pass an entire structure to functions?
What is a method in c?
What is use of #include in c?
What are external variables in c?
What is action and transformation in spark?
Is c is a middle level language?
Why c language is called c?
Differentiate between #include<...> and #include '...'
What is the default value of local and global variables in c?
What is external variable in c?
How can you restore a redirected standard stream?