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
What are the applications of c language?
Does * p ++ increment p or what it points to?
How to write a multi-statement macro?
What is function prototype in c language?
Apart from dennis ritchie who the other person who contributed in design of c language.
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
When should the const modifier be used?
What is difference between class and structure?
How can I use a preprocessorif expression to ?
Write a program to print all permutations of a given string.
In which language linux is written?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What are loops c?