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


Please Help Members By Posting Answers For Below Questions

write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

1632


What are valid operations on pointers?

672


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1463


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

693


What are # preprocessor operator in c?

634






Explain how can a program be made to print the name of a source file where an error occurs?

693


What is a buffer in c?

578


What is the purpose of sprintf() function?

607


What is the maximum length of an identifier?

667


Tell us something about keyword 'auto'.

668


What is the purpose of sprintf?

625


How are structure passing and returning implemented?

594


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

1016


What is structure pointer in c?

577


Explain what are run-time errors?

612