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
Is c is a procedural language?
all c language question
What is echo in c programming?
Sir i need notes for structure,functions,pointers in c language can you help me please
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What is line in c preprocessor?
What are the preprocessor categories?
Explain the use of 'auto' keyword
Explain what is #line used for?
What functions are in conio h?
Why calloc is better than malloc?
What is signed and unsigned?
Why we use void main in c?
Can a variable be both const and volatile?
Explain what are binary trees?