问题
单项选择题
下列叙述中错误的是( )。
A.在C语言中,函数中的自动变量可以赋初值,每调用一次赋一次初值
B.在C语言中,在调用函数时,实参和对应形参在类型上只需赋值兼容
C.在C语言中,外部变量的隐含类型是自动存储类别
D.在C语言中,函数形参的存储类型是自动(auto)类型的变量
答案
参考答案:C
解析: 外部变量在编译时由系统分配永久的内存空间,所以外部变量的类型不是自动存储类别。
下列叙述中错误的是( )。
A.在C语言中,函数中的自动变量可以赋初值,每调用一次赋一次初值
B.在C语言中,在调用函数时,实参和对应形参在类型上只需赋值兼容
C.在C语言中,外部变量的隐含类型是自动存储类别
D.在C语言中,函数形参的存储类型是自动(auto)类型的变量
参考答案:C
解析: 外部变量在编译时由系统分配永久的内存空间,所以外部变量的类型不是自动存储类别。
Tony loved basketball. One afternoon on his way to a basketball game, he was walking and dreaming about playing college the next year. Suddenly a car hit him and he was thrown three into the air. Tony woke up in a room. When the doctor told him that both his legs were broken, he knew his college basketball dreams were Tony did what the doctors told him. it didn't work when he left the hospital,Tony was sent to a rehab center’. A week after he arrived there,he met Sunny Chen. Sunny used to be a coach.His legs were hurt in a skating accident.Though he couldn't move his legs,Sunny became a coach of a basketball called the Suns.It was a on-wheelchair basketball team,because on the team played from a wheelchair.Sunny invited Tony to the game.Tony played badly, but for the time since the accident,he stopped feeling sorry for himself. After becoming a part of the Suns,Tony improved quickly.Basketball Was like for him.Tony was much better than before.When Tony became sad or ,Sunny was there to help him.The day Tony left the center, he had dinner with Sunny.He asked Sunny he could be so happy, even with his broken legs.Sunny and said, “It’s really quite easy.When you keep your face to the sun,the shadows fall behind.”
|