32 lines
381 B
C++
32 lines
381 B
C++
|
#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;
|
||
|
}
|
||
|
|
||
|
|