A. Program Struct
1. int B=4;
int *C, D;
int A=3;
C=&A;
cout<<C;
D=&B;
cout<<D;
B=-5; A=-7;
cout<<D<<C;
2. Struct Node {
int info;
Node * berikut;
}
Node *A;
Node A;
A.info;
A.berikut = NUUL;
3. Struct Simbil {
int info ;
Node * berikut ; }
Simbol *p = new Simbol;
p-> info =3;
p->berikut=NULL;
0 comments:
Post a Comment