You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <iostream.h>
|
|
|
|
#include <conio.h>
|
|
|
|
|
|
|
|
void multi(int &a)
|
|
|
|
{
|
|
int a,b,c;
|
|
int *q = &p;
|
|
cout<<”Enter the b value:
|
|
”
|
|
cin>>b;
|
|
c=q*b;
|
|
cout<<”Multiplication of a and b is:
|
|
“<<c;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
clrscr();
|
|
int a;
|
|
cout<<”Enter the a value:
|
|
”
|
|
cin>>a;
|
|
muti(&a);
|
|
return 0;
|
|
}
|
|
|
|
|