#include <iostream>
#include <string.h>
using namespace std;
void garis() {
printf("---------------------------------------");
cout<<endl;
}
void ttd() {
char nama[20], email[30];
strcpy(nama,"Asiyah Thufailah");
strcpy(email,"asiyahthufailah@gmail.com");
printf("Nama : %s\n", nama);
printf("Email : %s\n", email);
}
int main() {
int nilai[5], *p, i;
nilai[0] = 5;
nilai[1] = 10;
for (i=0;i<=1;i++) {
cout<<"Nilai ["<<i<<"] adalah "<<nilai[1]<<endl;
}
p = &nilai[0]; cout<<"Alamat Nilai [0] adalah "<<p<<endl;
p = &nilai[1]; cout<<"Alamat Nilai [1] adalah "<<p<<endl;
garis();
ttd();
return 0;
}