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 to reverse a string.
If you know then define #pragma?
What are the standard predefined macros?
Why isn't it being handled properly?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What are the main characteristics of c language describe the structure of ac program?
What does double pointer mean in c?
Do you know what are bitwise shift operators in c programming?
What are compound statements?
How many types of sorting are there in c?
Explain how can a program be made to print the name of a source file where an error occurs?
What functions are used for dynamic memory allocation in c language?
What is a method in c?
How many keywords are there in c?