33,311
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
#include <stdlib.h>
struct c_node{
char data;};
int main()
{
struct c_node *head=(c_node *)malloc(sizeof(* head));
head->data='g';
return 0;
}
struct c_node *head=(struct c_node *)malloc(sizeof(struct c_node));
#include <stdio.h>
#include <stdlib.h>
struct c_node{
char data;
};
int main()
{
struct c_node *head=(c_node *)malloc(sizeof(* head));
head->data='g';
printf("%c\n",head->data);
return 0;
}