Question: Write a C program for the given question. Write a C code with a function that will receive three integer numbers (say a, band c).
Write a C program for the given question.

Write a C code with a function that will receive three integer numbers (say a, band c). The job of the function is to interchange the numbers in a cyclic order such that a gets the value of b, b gets the value of c, and c gets the value of a. A fourth variable cannot be used.
Step by Step Solution
3.41 Rating (154 Votes )
There are 3 Steps involved in it
Answer include void cyclicSwapint a int b int c int main int a b c printfEnter a b and c respec... View full answer
Get step-by-step solutions from verified subject matter experts
