24,854
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
//#include "BinaryTree.h"
typedef char ElemType;
typedef struct student
{
ElemType data;
struct _BTNode *left;
struct _BTNode *right;
}BTNode;
void main()
{
struct student a={'M',NULL,NULL};
printf("%c\n",a.data);
BTNode b={'F',NULL,NULL};
printf("%c\n",b.data);
}
#include <stdio.h>
//#include "BinaryTree.h"
typedef char ElemType;
typedef struct student
{
ElemType data;
struct student *left;
struct student *right;
}BTNode;
void main()
{
struct student a = { 'M', NULL, NULL };
BTNode b = { 'F', NULL, NULL };
printf("%c\n", a.data);
printf("%c\n", b.data);
}