AMD interview question

Implement linked list of stacks without using STL. Write example of an inline function.