how to swap two integers 1 and 32767 without using third
variable
Answer Posted / usama
take two var a , b
a=a+b;
b=a-b;
a=a-b;
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Can a variable be both const and volatile?
What is 02d in c?
Do pointers need to be initialized?
What is double pointer in c?
What is the code in while loop that returns the output of given code?
What is the c language function prototype?
Tell us something about keyword 'auto'.
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What are enumerated types?
Explain the use of keyword 'register' with respect to variables.
Can you please explain the difference between malloc() and calloc() function?
What is a substring in c?
What is the purpose of clrscr () printf () and getch ()?
What are conditional operators in C?
What is an lvalue in c?