Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to write a program for swapping two strings without
using 3rd variable and without using string functions.

Answer Posted / biswambar

main()
{
int a=5,b=3;
b=a+b;
a=b-a;
b=b-a;
printf(" %d %d ",a,b);
}

Is This Answer Correct ?    44 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the applications of c language?

1037


Does * p ++ increment p or what it points to?

1083


How to write a multi-statement macro?

1008


What is function prototype in c language?

1002


Apart from dennis ritchie who the other person who contributed in design of c language.

1349


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

1042


When should the const modifier be used?

1072


What is difference between class and structure?

1088


How can I use a preprocessorif expression to ?

1019


Write a program to print all permutations of a given string.

1154


In which language linux is written?

1193


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1134


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

2037


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2041


What are loops c?

1021