swap two integer variables without using a third temporary
variable?
Answer Posted / sumit salve
a=a+b-(b=a);
or
a=a*b/(b=a);
this will also swap two numbers!!!
Thank You...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
in iso what are the common technological language?
Does c have function or method?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is the method to save data in stack data structure type?
What are the types of arrays in c?
What is meant by int main ()?
What is assert and when would I use it?
Explain how can a program be made to print the line number where an error occurs?
Write a program to find factorial of a number using recursive function.
what is the role you expect in software industry?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain about the functions strcat() and strcmp()?
What is the equivalent code of the following statement in WHILE LOOP format?
Why c is faster than c++?