0
Swapping of two numbers
#include<stdio. h> Void main() { int a, b; Print+"enter the values"); Scanf("%d%d" &a,&b); a=a+b; b=a-b; a=a-b; Print(" after swapping",%d,%d); }
1 Answer
#include<stdio. h> Void main() { int a, b; Print+"enter the values"); Scanf("%d%d" &a,&b); a=a+b; b=a-b; a=a-b; Print(" after swapping",%d,%d); }