题目内容
下面程序执行后的输出结果是()。#include #include struct NODE { int num; struct NODE *next;};int main(){ struct NODE *p, *q, *r; p = (struct NODE *) malloc( sizeof(struct NODE) ); q = (struct NODE *) malloc( sizeof(struct NODE) ); r = (struct NODE *) malloc( sizeof(struct NODE) ); p->num = 10; q->num = 20; r->num = 30; p->next = q; q->next = r; printf( "%d", p->num + q->next->num ); return(0);}
查看答案
搜索结果不匹配?点我反馈