The parameters appeared in the function call statements are called Actual parameters.
The parameters appeared in the function definition statements are called formal parameters.
The techniques used for parameter passing are
#include<stdio.h>
int callbyvalue(int);
main(){
int var=100;
callbyvalue(var);
printf("%d",var);
}
callbyvalue(int b){
b=200;
return (b);
}
#include<stdio.h>
void change(int &);
main(){
int num;
num1=30;
change(num);
printf("%d",num);
}
void change(int &b){
num2=50;
return;
}