Stack,queue and string.

Can I know should we use array to store the number or words. Is that wrong when we use array?
No, it's not wrong.
Arrays have some advantages (no runtime memory allocation) but also some disadvantages (eg. not resizeable), so it depends on your application what you should use.
Topic archived. No new replies allowed.