在自定义函数发生调用时才占用存储空间,函数调用结束返回时就释放存储空间的变量类型是( )
A: register和auto
B: static和auto
C: register和extern
D: static和register
A: register和auto
B: static和auto
C: register和extern
D: static和register
举一反三
- 在自定义函数中,只在发生对该函数的调用时才占用存储空间的变量类型是 A: static 和 auto B: register 和 auto C: register 和 extern D: static 和 register
- 在C语言中,()存储类型的变量,只在使用时才分配空间。 A: static和auto B: register和extern C: register和static D: auto和register
- 在C语言中,存储类型为__________ 的变量只在使用它们时才占用存储空间。 A: static和auto B: register和auto C: static和register D: resister和extern
- 在C语言中,存储类型为( )的变量只在使用它们时才占用存储空间。 A: static和auto B: register和auto C: static和register D: register和extem
- 在C语言中,只有在使用时才占用内存单元的变量,其存储类型是______ A: auto和static B: extern和register C: auto和register D: static和extern