Computer Science, asked by iba40, 6 months ago

write a program to swap(interchange) two inputted values​

Answers

Answered by ananyaneelala
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