write a program to swap(interchange) two inputted values
Answers
Answered by
2
Answer:
Swap function in C language
void swap(int*, int*); //Swap function declaration.
printf("Enter the value of x and y\n"); scanf("%d%d",&x,&y);
return 0; } //Swap function definition. void swap(int *a, int *b) { int t;
Explanation:
plz mark me as brilliant and hit a like
Similar questions
Social Sciences,
2 months ago
English,
2 months ago
Social Sciences,
2 months ago
Hindi,
5 months ago
Science,
10 months ago
Math,
10 months ago
Science,
10 months ago