How to write a program for swapping two strings without
using 3rd variable and without using string functions.
Answer Posted / sri
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 ? | 33 Yes | 42 No |
Post New Answer View All Answers
Explain the priority queues?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is the difference between pure virtual function and virtual function?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
cavium networks written test pattern ..
How can I direct output to the printer?
Write a program to show the change in position of a cursor using c
write a c program for swapping two strings using pointer
#include
What is the use of typedef in structure in c?
What is difference between arrays and pointers?
What are the different types of data structures in c?
Explain why can’t constant values be used to define an array’s initial size?
In which layer of the network datastructure format change is done