Write a program to interchange two variables without using
the third variable?
Answer Posted / pari
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf("Enter two no");
scanf("%d%d",&a,&b);
a=a*b;
b=a/b;
a=a/b;
printf("After chanching no is =\n");
}
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
what are the 10 different models of writing an addition program in C language?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What is calloc in c?
How can I implement sets or arrays of bits?
Explain what is wrong with this program statement?
What is the use of structure padding in c?
What is the purpose of sprintf?
What are types of functions?
What is the difference between char array and char pointer?
What is difference between constant pointer and constant variable?
What are run-time errors?
What are the two types of functions in c?
What is the difference between constant pointer and constant variable?
What is getch?
What is 1f in c?