Dayrvia
C

C · Array length · Practice questions

Try 2 questions on C · Array length, then read the explanations and review the related concepts.

Practice questions

Choose an answer and move to the next question. Grade the last one to see explanations and review links.

2 questions
Q1 At this declaration site, what is sizeof a / sizeof a[0]?
int a[] = {7, 0, 2, 8};
Q2 Why does this function accept n?
int sum(const int values[], size_t n);
Original practice questions written for Dayrvia.