综艺怪蜀黍来了网盘:C语言程序设计考题

来源:百度文库 编辑:高校问答 时间:2024/05/06 00:50:26
C语言中变量的隐含存储类型为()
a.extern b.static c.auto d.无存储类别

答案:C
C语言中,函数变量的存储类别包括auto,static,extern和regester,其中auto为隐含存储类别,static为静态存储类别,extern为外部存储类型register是寄存器存储类别。

当不写时,它就是自动的默认值,默认为auto

C
:函数中变量的存储类别包括auto,static,extern,其中auto为隐含存储类别,static为静态存储类别,register是寄存器存储类别。