Computer Science, asked by gokulkakarla, 15 days ago

write a program to interchangethe value of two number with out using third number​

Answers

Answered by ogirl457
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 NimishaNisthaSaikia
1

Answer:

I don't know. sorry

Explanation:

thank u

Similar questions