Which one of the following choices uses the correct syntax for a valid array assignment?
A.
@cities =Akron, Memphis, Ogden, Phoenix;
B.
@cities =~ (“Akron, Memphis”);
C.
@cities =~ (Akron, Memphis, Ogden, Phoenix);
D.
@cities = (“Akron”);
Which one of the following choices uses the correct syntax for a valid array assignment?
Which one of the following choices uses the correct syntax for a valid array assignment?
A.
@cities =Akron, Memphis, Ogden, Phoenix;
B.
@cities =~ (“Akron, Memphis”);
C.
@cities =~ (Akron, Memphis, Ogden, Phoenix);
D.
@cities = (“Akron”);