44

单选题 44 /47

有如下程序段:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
    char a[] = "xyz", b[] = {'x', 'y', 'z'};
    if (strlen(a) > strlen(b))
        printf("a > b\n");
    else
        printf("a <= b\n");

    return (0);
}

则程序输出:

参考答案

a>b
a<=b
编译不通过
以上都不对