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
what is the height of tree if leaf node is at level 3. please explain
Is sizeof a keyword in c?
What do you mean by Recursion Function?
What is getch () for?
Tell me what is null pointer in c?
What is infinite loop?
What is meant by preprocessor in c?
How do we make a global variable accessible across files? Explain the extern keyword?
explain what are actual arguments?
What are the advantages of c language?
Explain #pragma statements.
Can you assign a different address to an array tag?
What is c preprocessor mean?
Why void main is used in c?
What does %d do in c?