How do we swap or interchange any 2 numbers without using
Temporary variable...Anybody can pls answer it.. Thanks in
Advance
Answer Posted / surendra jhajhra
int x,y;
x =x+y;
y =x-y;
x =x-y;
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Which programming language is best for getting job 2020?
How does placing some code lines between the comment symbol help in debugging the code?
What is the difference between the local variable and global variable in c?
What is %d used for?
What is a void * in c?
What are reserved words?
What happens if a header file is included twice?
What are the different types of C instructions?
Explain data types & how many data types supported by c?
What are the data types present in c?
What is default value of global variable in c?
What are the types of pointers in c?
Why c is called free form language?
What is the difference between printf and scanf )?
What does printf does?