Smallest code to return sum of all characters in an array of strings Smallest code to return sum of all characters of an array of C-strings, including null-byte-terminattor of each string in the array.

example in C:

    const char *a[] = { "abc", "bdef", "cee", "deee" };
    size_t n = sumOfAllBytes(a);
    printf("n = %d\n", n); // n = 18


e.g.,

   strlen(a[0]) + 1 + ... + strlen(a[n])


where n is array-size-1, ie, the last elemet in the array, in this case, deee word. Note that n = 4 (starting from 0 as C does)

Each character is an ASCII character in C it's 1 byte-size.
Haskell, 21 19 bytes

succ.length.unwords

Edit: Removed two bytes thanks to ais523!