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 is event driven software and what is procedural driven software?
What is the symbol indicated the c-preprocessor?
Is null valid for pointers to functions?
What is a ternary operator in c?
What are data structures in c and how to use them?
What is an auto variable in c?
How do you sort filenames in a directory?
Why we use int main and void main?
What is 1d array in c?
Why is c called a mid-level programming language?
Explain the ternary tree?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What tq means in chat?
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.
When would you use a pointer to a function?