-->
当前位置:首页 > 题库 > 正文内容

FILL_IN_THE_BLANK:After running the following program, the output result is as follows:

Luz3年前 (2021-05-10)题库237
After running the following program, the output result is as follows:
```
#include
typedef struct date {
int year;
int month;
int day;
}DATE;
void Func(DATE *p){
p->year = 2018; p->month = 12; p->day = 25;
}
int main()
{
DATE d={2019,1,1} ;
printf("%d,%d,%d\n", d.year, d.month, d.day);
Func(&d);
printf("%d,%d,%d\n", d.year, d.month, d.day);
return 0;
}
```
Two lines of printout will be generated
First line @ @ [2019,1,1] (2)
The second line @ @ [2018,12,25] (3)
(Note: fill in the answers in strict accordance with the format printed by the program. There is no need to write the line break '\ n' at the end of the line. You should not add quotation marks, spaces and other irrelevant characters at will, otherwise you will not get a score. For example, printf ("Hello World / N"); What is printed in one line should be filled in as hello world, not "Hello world" or "Hello World '\ n'"







answer:The first empty: 2019,1,1||
Space 2: December 25, 2018||

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。