The characters of a word are stored in a character array A1 of dimension 10. Assuming a stack data structure S and push(S, char c) and char pop(S) procedures on S are available, write a program in pseudocode or C with brief comments that will push the characters of A1 into S and then pop them to A2 so that A2 has the reverse of A1.Ex: : A1= "Hello" and after execution A2 = "olleH"