Write a program to exchange two variaables without temp

Answer Posted / haihere

Ans 3 is proper answer,coz in 1 it wont check for
range,,ans 3 is the rigt..

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

574


What is malloc calloc and realloc in c?

660


Explain how do you determine the length of a string value that was stored in a variable?

664


Write a program to print ASCII code for a given digit.

679


How many keywords are there in c?

586






What are multibyte characters?

642


Explain the binary height balanced tree?

718


what is the basis for selection of arrays or pointers as data structure in a program

3784


How to Throw some light on the splay trees?

617


ATM machine and railway reservation class/object diagram

4798


simple program of graphics and their output display

1466


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3138


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

722


How can this be legal c?

648


What functions are in conio h?

652