3. [2x2.5] a) Write a program to pass two numbers from main function to function foo, swap the numbers in a function foo
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
3. [2x2.5] a) Write a program to pass two numbers from main function to function foo, swap the numbers in a function foo
3. [2x2.5] a) Write a program to pass two numbers from main function to function foo, swap the numbers in a function foo and print the swapped value in main function using call by value method. Note that you cannot use call by reference anywhere. b) Write a program input a structure employee with following