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 / srinath, hyd

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

Is This Answer Correct ?    7 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between static and dynamic modeling.

1083


What are data structures in c and how to use them?

1153


What are header files in c?

1058


Is there a way to compare two structure variables?

1099


How will you find a duplicate number in a array without negating the nos ?

2118


Can a variable be both const and volatile?

1118


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2531


What is c++ used for today?

1098


given post order,in order construct the corresponding binary tree

2764


For what purpose null pointer used?

1058


Differentiate between #include<...> and #include '...'

1043


write a program to print largest number of each row of a 2D array

2314


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1512


Write a Program to find whether the given number or string is palindrome.

1266


What is the use of pointers in C?

1060