【发布时间】:2023-01-28 16:26:58
【问题描述】:
void reserve(int x)
{
stream = begin;
if (begin == NULL)
{
begin = stream = (struct room*)malloc(sizeof(struct room));
details();
stream->following = NULL;
printf("\n\t room booking is successful!");
x = stream->room_period;
printf("\n\t your room period is: period-%d", x);
stream->room_period = x;
return;
}
运行details()后,程序会自动继续运行还是需要加一些字??
【问题讨论】: