How to write a program for swapping two strings without
using 3rd variable and without using string functions.
Answer Posted / srinath, hyd
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 ? | 7 Yes | 26 No |
Post New Answer View All Answers
Can you write the function prototype, definition and mention the other requirements.
Explain Basic concepts of C language?
Explain why c is faster than c++?
Write a program to print numbers from 1 to 100 without using loop in c?
swap 2 numbers without using third variable?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
How can I implement sets or arrays of bits?
Explain the difference between null pointer and void pointer.
What is meant by errors and debugging?
the question is that what you have been doing all these periods (one year gap)
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
Array is an lvalue or not?
What does it mean when a pointer is used in an if statement?
Write a program to print fibonacci series without using recursion?
what are # pragma staments?