Answer Posted / eranna kybarshi
#include<stdio.h>
#include<conio.h>
void main()
{
int x,y;
clrscr();
printf("Enter 'x' value :");
scanf("%d",&x);
printf("\nEnter 'y' value :");
scanf("%d",&y);
x=x+y;
y=x-y;
x=x-y;
printf("\nAfter swaping x= %d,y= %d ",x,y);
getch();
}
| Is This Answer Correct ? | 20 Yes | 0 No |
Post New Answer View All Answers
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
hi any body pls give me company name interview conduct "c" language only
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
How many types of operators are there in c?
find the sum of two matrices and WAP for it.
Write a c program to demonstrate character and string constants?
Is c weakly typed?
How can variables be characterized?
What is 'bus error'?
Can the curly brackets { } be used to enclose a single line of code?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
explain how do you use macro?
How can you check to see whether a symbol is defined?
What is a null pointer in c?
What is a static function in c?