首页 > 试题广场 >

给出以下程序的执行结果。 #include #inclu

[问答题]
给出以下程序的执行结果。
#include <stdio.h>
#include <string.h>
void main()
{
    char str[ ][20]={"Hello","Beijing"}, * p=str[0];
    printf("%d\n",strlen(p+20));
}


推荐
程序输出为7。
发表于 2018-05-07 10:54:50 回复(0)