当前位置: X题卡 > 所有题目 > 题目详情

设有如下的程序段: int a[]=(1,2,3,4,5),*t; t=a; 则下列说法正确的是 ( )

查看本题答案

你可能感兴趣的试题

1,2,3,4,5,  2,3,4,5,6,  3,4,5,6,7,  2,3,4,5,1,  
1,2,3,4,5,  2,3,4,5,6,  3,4,5,6,7,  2,3,4,5,1,  
2,2,3,4,5,  6,2,3,4,5,  1,2,3,4,5,  2,3,4,5,6,  
1,2,3,4,5,  2,3,4,5,6,  3,4,5,6,7,  2,3,4,5,1  
5,4,3,2,1,  5,2,3,4,1,  1,2,3,4,5,  1,2,3,4,5,  
a和t的内容相同  a数组的长度和t所指的字符串长度相等  a和t完全相同  指针变量t指向数组a的第一个元素  
1,2,3,4,5  2,3,4,5,6  3,4,5,6,7   2,3,4,5,1  
1,2,3,4,5,  2,3,4,5,6,  3,4,5,6,7,  2,3,4,5,1  
1,2,3,4,5,  2,3,4,5,6,  3,4,5,6,7,  2,3,4,5,1,  

热门试题

更多