#include #include using namespace std; // implicit and partial initialization //myArrayPartial1.cpp // partial holds more space than current size int main() { //declaring an array // arrays are indexed int index; string str1[14] = {"A", "B", "C","D"}; int n1[10] = { 1,2,3,4,5}; cout<< "string partial array \n"; for(int i=0; i< 7; i++) { cout <<" "<< str1[i]; } cout<< "\n integer partial array \n"; for(int i=0; i< 10; i++) { cout <<" "<< n1[i]; } there: cout<<"\n enter a number from 0 to 3 \n \t\b" ; cin>>index; if(index == 9) { exit(1);} else { cout<<"\n str1["<< index <<"] is "<< str1[index]; cout<<"\n n1["<< index <<"] is "<< n1[index]; goto there; } return 0; }