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 / ramu pasupuleti

#include<stdio.h>
#include<conio.h>
{
printf("enter a,b values");
a=a+b;
a=a-b;
b=a-b;
printf("%d%d",a,b);
getch();
}

Is This Answer Correct ?    2 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c is a procedural language?

1099


all c language question

2444


What is echo in c programming?

1031


Sir i need notes for structure,functions,pointers in c language can you help me please

2421


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1441


What is line in c preprocessor?

1064


What are the preprocessor categories?

1067


Explain the use of 'auto' keyword

1125


Explain what is #line used for?

1073


What functions are in conio h?

1210


Why calloc is better than malloc?

1041


What is signed and unsigned?

1067


Why we use void main in c?

1175


Can a variable be both const and volatile?

1135


Explain what are binary trees?

1083