Arrays and Strings MCQs

133 questionsC-ProgramPage 1 of 15

Practice free Arrays and Strings multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 133 questions — no login required.

Question 1easy
What is the highest index for an array with 10 elements in C?
Question 2easy
Which keyword is used to declare a character array in C?
Question 3easy
What is the size of an integer array declared as int arr[5] in bytes?
Advertisement
Question 4easy
Which function is used to compare two strings in C?
Question 5medium
How do you access the first element of an array arr in C?
Question 6easy
Which type of loop is commonly used to iterate through an array in C?
Advertisement
Question 7easy
What is the maximum number of elements that can be stored in an array in C?
Question 8easy
Which function is used to find the length of a string in C?
Question 9easy
What is the term for accessing elements of an array using an index in C?