How to write a program for swapping two strings without
using 3rd variable and without using string functions.
Answer Posted / sri
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 ? | 33 Yes | 42 No |
Post New Answer View All Answers
Differentiate between the = symbol and == symbol?
Why is structure padding done in c?
What is the function of this pointer?
What is a struct c#?
Which are low level languages?
What is character set?
Is using exit() the same as using return?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Differentiate between calloc and malloc.
Which driver is a pure java driver
why we wont use '&' sing in aceesing the string using scanf
Can you think of a logic behind the game minesweeper.
Why do we write return 0 in c?
Are negative numbers true in c?