选择题   有如下程序:
    #include  <stdio.h>
    #include  <string.h>
    main()
    {
    printf('%d\n',strlen('0\t \nA011\1'));
    }
    程序运行后的输出结果是______。
 
【正确答案】 A
【答案解析】strlen是求字符串长度的函数,'0\t\nA011\1'是一个长度为8的字符串,其中“\t”“\n”“\1”均为转义字符常量,但是长度也是1,因此输出结果是8,答案为选项A。