Which of the following statement is/are true?

  1. The length and capacity for an array are always equal.
  2. The length and capacity for a slice are always equal.

Statement (1) and (2) are both true.

Statement (1) is true and (2) is false.

Statement (1) is false and (2) is true.

Statement (1) and (2) are both false.

Verified Answer
Correct Option - b

To get all Go Programming Language - Assessment Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram