write a program to interchangethe value of two number with out using third number
Answers
Answered by
5
Answer:
include<stdio.h>
int main()
{
int a=10, b=20;
printf("Before swap a=%d b=%d",a,b);
a=a+b;//a=30 (10+20)
b=a-b;//b=10 (30-20)
a=a-b;//a=20 (30-10)
Answered by
1
Answer:
I don't know. sorry
Explanation:
thank u
Similar questions
English,
7 days ago
Social Sciences,
15 days ago
Computer Science,
8 months ago
Math,
8 months ago
India Languages,
8 months ago