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
How can I prevent another program from modifying part of a file that I am modifying?
What is NULL pointer?
Is c easy to learn?
How to throw some light on the b tree?
Explain what is a 'locale'?
What is methods in c?
if p is a string contained in a string?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
How can I run c program?
What are the 5 types of organizational structures?
Is file a keyword in c?
What is wild pointer in c?
What's a good way to check for "close enough" floating-point equality?
Can I initialize unions?