how to swap two numbers with out using temp variable
Answer Posted / sachin patil
a = 5;
b = 10;
a = a+b;
b = a-b;
a = a-b;
| Is This Answer Correct ? | 55 Yes | 5 No |
Post New Answer View All Answers
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Can a new be used in place of old mallocq? If yes, why?
Describe protected access specifiers?
Is overriding possible in c++?
What is ifstream c++?
Will rust take over c++?
What does int * mean in c++?
Do vectors start at 0?
How to declare a pointer to an array of integers?
What is the limitation of cin while taking input for character array?
Can static member variables be private?
What is the use of cmath in c++?
Why should you learn c++?
What is array in c++ example?
What is called array?