
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Three programming tasks for network programming lab #1. The tasks involve creating a program to swap the values of integer and string variables, as well as structures of students, using different methods: by value and by reference.
Typology: Exercises
1 / 1
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