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
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What is the use of function in c?
What are the advantages and disadvantages of c language?
Is calloc better than malloc?
When would you use a pointer to a function?
When can a far pointer be used?
Describe the modifier in c?
how should functions be apportioned among source files?
Why is c called a structured programming language?
What is function definition in c?
What is 02d in c?
What is the significance of scope resolution operator?
Apart from dennis ritchie who the other person who contributed in design of c language.
Explain continue keyword in c
What is the method to save data in stack data structure type?