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
Explain logical errors? Compare with syntax errors.
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
When should the volatile modifier be used?
How can you determine the maximum value that a numeric variable can hold?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
How can I manipulate strings of multibyte characters?
How can a program be made to print the line number where an error occurs?
Explain how do you sort filenames in a directory?
#include
Which is best book for data structures in c?
Compare and contrast compilers from interpreters.
What is your stream meaning?
What is a good data structure to use for storing lines of text?
Why shouldn’t I start variable names with underscores?