int contoh(int a,int &b){
b=b+a;
return b;
}
int main() {
int x,y;
x=10;
y=20;
cout<<"nilai x:"<
cout<<"nilai y:"<
cout<<"nilaix+y:"<
cout<<"nilai y:"<
int *pointer;
int a;
a=10;
cout<<"Nilai pointer: "<
cout<<"nilai :"<<
cout<<"alamat a:"<<&a<
pointer=&a;
cout<<"nilai yang ditunjuk po inter:"<<*pointer<
cout<<"alamat pointer:"<
return 0;
}
Posted by 23.19 and have
0
comments
, Published at