wat are the two methods for swapping two numbers without
using temp variable??
Answers were Sorted based on User's Feedback
Answer / shrikantauti
i dont know the methods but can give the code to swap values without temporary variable.
a b
a=a+b
b=a-b
a=a-b
| Is This Answer Correct ? | 6 Yes | 0 No |
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Write a program to know whether the input number is an armstrong number.
What are bit fields? What is their use?
How can a process change an environment variable in its caller?
What does the error message "DGROUP exceeds 64K" mean?
What is malloc() function?
write a c program to print a given number as odd or even without using loop statements,(no if ,while etc)
Is Exception handling possible in c language?
What is a volatile keyword in c?
could u able to tell about suresoft technical session
What is the function of this pointer?
0 Answers Agilent, ZS Associates,
What is the process to create increment and decrement stamen in c?