Are you sure you want to use arrays? Are you planning to make both arrays the same size and link names to marks by using the same index? That would be a dreadful design - maybe OK if you were...