How many bytes are occupied by the following string? char str[] = "abcdef";

How many bytes are occupied by the following string?

char str[] = "abcdef";

  1. A.

    5 bytes

  2. B.

    6 bytes

  3. C.

    7 bytes

  4. D.

    8 bytes

Attempted by 7 students.

Sign up free to check your answer

Sign up free

Explore the full course: C Language

Loading lesson…