How to write a program for swapping two strings without
using 3rd variable and without using string functions.
Answer Posted / ramu pasupuleti
#include<stdio.h>
#include<conio.h>
{
printf("enter a,b values");
a=a+b;
a=a-b;
b=a-b;
printf("%d%d",a,b);
getch();
}
| Is This Answer Correct ? | 2 Yes | 18 No |
Post New Answer View All Answers
Can a function argument have default value?
Where static variables are stored in memory in c?
Under what circumstances does a name clash occur?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Explain why c is faster than c++?
Explain what does the function toupper() do?
List some applications of c programming language?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
Explain the difference between #include "..." And #include <...> In c?
what is the different bitween abap and abap-hr?
How can I do peek and poke in c?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
What is void main ()?
List the different types of c tokens?
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?