Q. Write a C program to give a example of swapping two values using call by reference method.
Also draw appropriate flowchart.
Ans.
C program for call by reference swap method, click below link:
click me for call by reference swap C program
Call by reference swapping flowchart as:
Also draw appropriate flowchart.
Ans.
C program for call by reference swap method, click below link:
click me for call by reference swap C program
Call by reference swapping flowchart as:
Figure: Flowchart for call by reference swap two values program |
No comments:
Post a Comment