
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Make a program that swaps the values of integer type variables by calling a function swap1 using two methods . a) By value. b) By reference.
Make a program that swaps two strings of character type by calling a function swap1. Strings carry the names of the students then pass them to a function by reference.
Make a program that swaps two structures of students then pass there values to the function by reference..
docsity.com