How many ways are there to swap two numbers without using
temporary variable? Give the each logic.
Answer Posted / megha
in 7 types
| Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is scope and lifetime of a variable in c?
What is function in c with example?
What do you mean by dynamic memory allocation in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Can you please explain the difference between exit() and _exit() function?
What is time null in c?
What is the code in while loop that returns the output of given code?
Explain the advantages of using macro in c language?
How do we print only part of a string in c?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Tell me with an example the self-referential structure?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
How we can insert comments in a c program?
What are the different file extensions involved when programming in C?