How to write a program for swapping two strings without
using 3rd variable and without using string functions.
Answer Posted / biswambar
main()
{
int a=5,b=3;
b=a+b;
a=b-a;
b=b-a;
printf(" %d %d ",a,b);
}
| Is This Answer Correct ? | 44 Yes | 54 No |
Post New Answer View All Answers
how to capitalise first letter of each word in a given string?
Can a file other than a .h file be included with #include?
What are the different file extensions involved when programming in C?
Can you return null in c?
What are data structures in c and how to use them?
What are identifiers and keywords in c?
What is the scope of an external variable in c?
What is pointer in c?
How can I open a file so that other programs can update it at the same time?
What is a void * in c?
Can I initialize unions?
What is function what are the types of function?
Explain the difference between getch() and getche() in c?
Differentiate call by value and call by reference?
Are comments included during the compilation stage and placed in the EXE file as well?