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 |
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is the purpose of #pragma directives in C?
What is a newline escape sequence?
What are the 5 types of inheritance in c ++?
what are the various memory handling mechanisms in C ?
Is c language still used?
What is a segmentation fault?
Explain enumerated types.
Explain how can I manipulate strings of multibyte characters?
What does %c mean in c?
Can a file other than a .h file be included with #include?
What is the default value of local and global variables in c?