- C++
- Tipe data abstrak ” Structure (struct)
- Perbedaan Array dan Struct
- Array : tipe data harus sama
Struct : tipe data bisa disesuaikan
Contoh:
Typedef struct{
Type name1;
Type name2;
}sepatu;
Int main(){
Sepatu sepatu1;
}
- PHP
- Tipe data abstrak ” Definisi static
- Stack : LIFO (Last In First Out)
- Queue : FIFO (First In First Out)