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
write a program to rearrange the array such way that all even elements should come first and next come odd
What is the default value of local and global variables in c?
What are the rules for identifiers in c?
What is register variable in c language?
What is the usage of the pointer in c?
Why do we use return in c?
How do you determine a file’s attributes?
What are the 4 types of programming language?
What is the use of a conditional inclusion statement in C?
Why enum is used in c?
What is the significance of an algorithm to C programming?
What is wrong in this statement?
What is the need of structure in c?
What is difference between scanf and gets?
What is sizeof c?