• 2022-06-06
    以下程序的运行结果是____ int
    main ( ) { int
    i, j, m, n;
    char
    a[ ]={ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', '\0' }; char b[10 ]={ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', '\0'
    }; i= sizeof( a ); j=strlen( a ); m= sizeof( b ); n=strlen ( b ); printf ( "%d, %d, %d, %d\n", i, j, m, n ); return 0; }
    A: 9, 9, 10, 10
    B: 8, 9. 8, 10
    C: 9, 8, 10, 8
    D: 9, 8, 9, 8