What is the output of this C code? #include #include int main() {..

What is the output of this C code? #include #include int main() {..

What is the output of this C code?

  1. #include
  2. #include
  3. int main()
  4. {
  5. char *str = “x”;
  6. char c = ‘x’;
  7. char ary[1];
  8. ary[0] = c;
  9. printf(“%d %d”, strlen(str), strlen(ary));
  10. return 0;
  11. }

a) 1 1
b) 2 1
c) 2 2
d) 1 (undefined value)