Computer Science, asked by Maatangy, 6 months ago

call the swap function using positional and keyword aur human with values 100 and 200 respectively different swipe number 111 number 2 equal to 2 number print number 1 number 2​

Answers

Answered by Preetnoor04
2

Explanation:

Swapping numbers using call by reference in C

#include <stdio.h>

void swap(int*, int*);

int main()

{

int x, y;

printf("Enter the value of x and y\n");

scanf("%d%d",&x,&y);

printf("Before Swapping\nx = %d\ny = %d\n", x, y);

Similar questions