error: void value not ignored as it ought to be , how can I solve this issue?

后端 未结 0 1472
孤城傲影
孤城傲影 2020-12-05 11:25

void preorderTraversal(struct node*tree) {

if (tree != NULL)
{
    printf("%d", tree->data);
    tree->left=preorderTraversal(tree->left);
         


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