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
Explain what is the benefit of using #define to declare a constant?
if p is a string contained in a string?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
Explain what is the difference between functions getch() and getche()?
How can I change the size of the dynamically allocated array?
Can a function argument have default value?
What are structures and unions? State differencves between them.
Give basis knowledge of web designing ...
Explain how can you tell whether a program was compiled using c versus c++?
What is the difference between formatted&unformatted i/o functions?
Which is best linux os?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
How can I find out the size of a file, prior to reading it in?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
Explain zero based addressing.