Code:#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
#include <string.h>
int main()
{
char* passarray[10];
cout<<"This program can store 5 passwords of yours.\n";
for(int i=0;i<5;i++)
{
cout<<"Please enter the passwords nickname so you can get it later:";
cin>>passarray[i];
cout<<"Please enter the password for the nickname "<<passarray[i]<<":";
}
system("pause");
return 0;
}