When the compiler gets done, all variable names (including arrays) have been mapped to addresses. Only the addresses are known. Trying to do something to an array, based solely on its name at run time, is NOT possible.
Using the String class is not advisable, either. Passing an array of String objects to the dosomething() function doesn't seem reasonable, either.
As Paul said, the Arduino has no idea that the array you've created is called "main menu"
The closest you can get is to create a hashtable which stores the character string and the array, but it's not recommended considering the limited SRAM on the Arduino. There is usually a better way to accomplish your overall goal.