benchmarks.wiki / Public workspace

MMLU-Pro / 10677 / What is wrong in the following array declaration? int my _ array (200);

Problem

Answer published by the source. Consult the official source to check your work against its answer.

question

What is wrong in the following array declaration? int my _ array (200);

category

computer science

options

  1. The datatype for the array elements is not specified
  2. The array is not initialized
  3. The array size is too large
  4. The semicolon is missing at the end of the declaration
  5. The array size should be a constant expression
  6. The array size must be defined after the variable name
  7. The number of subscripts is not enclosed in square brackets

src

stemez-ComputerScience

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import