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
What is sizeof return in c?
What is the hardest programming language?
When should you not use a type cast?
Write a program to show the change in position of a cursor using c
I came across some code that puts a (void) cast before each call to printf. Why?
write a program to find the given number is prime or not
How do I copy files?
Explain modulus operator.
What do you mean by a sequential access file?
What is the difference between if else and switchstatement
find out largest elemant of diagonalmatrix
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Why is not a pointer null after calling free?
What is a buffer in c?