Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
C++
/
C-style arrays
What contract does void read(const int values[8]) enforce in C++23?
from C-style arrays
C++23 (GCC 13.3.0)
beginner
1 min
What contract does void read(const int values[8]) enforce in C++23?
It accepts only arrays whose extent is exactly 8.
It adjusts to a const int* parameter and enforces no element count.
It copies eight integers into the function.
It rejects null pointers but accepts every non-null pointer.
Check
Ask AI about this kata
Report an error
previous kata
After array-to-pointer conversion, what is the type of int grid[2][3] in an ordinary expr…
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload