#include<iostream>
using namespace std;
void anik(int n)
{
n = 20;
}
int main()
{
int a = 10;
cout << "Before Passing Value :: " << a << endl << endl;
anik(a);
cout << "After Passing Value :: " << a << endl;
return 0;
}
using namespace std;
void anik(int n)
{
n = 20;
}
int main()
{
int a = 10;
cout << "Before Passing Value :: " << a << endl << endl;
anik(a);
cout << "After Passing Value :: " << a << endl;
return 0;
}
Comments
Post a Comment