Hello,I am studying call by reference and call by value.I have studied the tutorial here .I have been experimenting with functions.I will be thankful if someone give me an example which uses Function(int a,int&b,int*c).
#include <iostream>
void Function( int a, int& b, int* c ) {
a = 5; b = 6; *c = 7;
}
int main() {
int x = 1, y = 2, z = 3;
Function( x, y, &z );
std::cout << x << ' ' << y << ' ' << z << std::endl;
}