Where is BUG?!
  • 板块学术版
  • 楼主ChampionCyan
  • 当前回复3
  • 已保存回复3
  • 发布时间2023/11/22 17:24
  • 上次更新2023/11/22 19:49:08
查看原帖
Where is BUG?!
1036180
ChampionCyan楼主2023/11/22 17:24
typedef struct BinaryTree {
	char data;
	struct BinaryTree *lc;
	struct BinaryTree *rc;
} Node;
Node *head;

...

int main() {
	head->lc = NULL;
	head->rc = NULL;
	return 0;
}

这里RE了(本人调试过,一定是这里RE) 这么写哪里有问题?求大佬指点

2023/11/22 17:24
加载中...