Question: Functions can have the same name as long as they have different parameters. In the main program below, there are 3 called swap. Write them
int main() int a 2e, b 30, c 5, d 10; int *ptr1 -&c, *ptr2 &d; char c1 - 'A', c2 = "Z"; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
