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
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
English,
3 months ago
Business Studies,
3 months ago
English,
3 months ago
Computer Science,
6 months ago
English,
6 months ago
Chemistry,
1 year ago