Computer Science, asked by anchal7263, 10 months ago

To accept values of two numbers and interchange their values

Answers

Answered by anitharadha19
1

Answer:

c code:

#include<stdio.h>

int  main()

{

int a,b,temp;

scanf("%d %d,",&a,&b);

printf("%d %d",a,b);

temp=a;

a=b;

b=temp;

printf("%d %d ",a,b);

Similar questions