Returning an empty item in a C function call

前端 未结 0 708
耶瑟儿~
耶瑟儿~ 2021-01-23 03:57

I want to return the last in a stack. Something like the following:

Item* get_last_item()
{
    if (item_stack_size == 0) {
        // return  ?
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题