English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

print first those at bottom of the stack. Do this for both array implementation?

2007-02-05 19:09:48 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

void PrintInReverse(stack* pStack)
{
int nStackElement;
nStackElement = pStack->pop(); //or whatever
printf("%d", nStackElement);
PrintInReverse(pStack);
}

2007-02-05 20:41:05 · answer #1 · answered by BataV 3 · 1 0

fedest.com, questions and answers