diff --git a/abrar.c b/abrar.c new file mode 100644 index 0000000..c7d2ed4 --- /dev/null +++ b/abrar.c @@ -0,0 +1,17 @@ +#include +int main() +{ + int x, y; + printf("Enter Value of x "); + scanf("%d", &x); + printf("\nEnter Value of y "); + scanf("%d", &y); + int temp = x; + + x = y; + + y = temp; + + printf("\nAfter Swapping: x = %d, y = %d", x, y); + return 0; +}