#include<iostream>
using namespace std;
void anik(int *a)
{
*a = 70;
}
int main()
{
int n = 20;
cout << "Before Calling The Function :: " << n << endl << endl;
anik(&n);
cout << "After Calling The Function :: " << n << endl;
return 0;
}
using namespace std;
void anik(int *a)
{
*a = 70;
}
int main()
{
int n = 20;
cout << "Before Calling The Function :: " << n << endl << endl;
anik(&n);
cout << "After Calling The Function :: " << n << endl;
return 0;
}
Comments
Post a Comment