My issue
What is wrong in my code
My code
#include <stdio.h>
int main() {
// your code goes here
int a = 83, b = 45, c;
// swapping with using third variable
c = a;
a = b;
b = c;
printf("%d %d\n", a, b);
//swapping without using third variable
a = a + b;
b = a - b;
a = a - b;
printf("%d %d ", b, a);
}
Learning course: Learn C Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-programming-c/RCPITLPC07/problems/LJAJAG21