单项选择题

在C语言中,只有在使用时才占用内存单元的变量,其存储类型是______。

A.auto和static
B.extem和register
C.auto和register
D.static和register
<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序:#include <stdio.h>#include <string.h>main(){ char str[][20]={ One*World , One*Dream] }, *p=str[1];printf( %d, , strlen(p)); printf( %s n , p);}程序运行后的输出结果是______。
A.10, One*Dream!
B.9, One*Dream!
C.9, One*World
D.10, One*World
单项选择题
有以下程序:#include <stdio.h>fun(int x, int y){ static int m=0, i=2;i+=m+1; m=i+x+y; return m;}main(){ int j=1, m=1, k;k=fun(j, m); printf( %d, , k);k=fun(j, m); printf( %d n , k);}执行后的输出结果是______。
A.5, 11
B.5, 5
C.11, 11
D.11, 5
相关试题
  • 读取二进制文件的函数调用形式为:fread(b...
  • 有以下程序:#include <stdio.h>main...
  • 有以下程序:#include <stdio.h>#inc...
  • 以下叙述中正确的是______。
  • 有以下程序:#include <stdio.h>typed...