What is Array?
1D Array

Quiz
•
Computers
•
University
•
Medium
Abhishek Pandey
Used 21+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. Collection of different type of elements
B. Collectionof similar type of elements
C. None of the above
D. Both A and C
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is right way to Initialize array?
A. int num[6] = { 2, 4, 12, 5, 45, 5 };
B. int n{} = { 2, 4, 12, 5, 45, 5 };
C. int n{6} = { 2, 4, 12 };
D. int n(6) = { 2, 4, 12, 5, 45, 5 };
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of dimensions an array in C may have?
A. Two
B. eight
C. sixteen
D. Theoratically no limit. The only practical limits are memory size and compilers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the starting index of an array in C?
0
1
5
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare an array named "scores" that can store 5 integers in C
array scores = 5;
int scores[5];
scores = int[5];
int[] scores ;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, what function is used to input values into an array from the user
scan()
input()
scanf()
read()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you pass an array to a function in C?
By passing the array name
By passing the array size
By passing each element individually
Arrays cannot be passed to functions in C
Similar Resources on Quizizz
10 questions
Prob. prog 2

Quiz
•
University
11 questions
Quiz 2: C++ Basics

Quiz
•
University
10 questions
Weekly Contest #3 - TechXNinjas

Quiz
•
University
10 questions
Java Static

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
10 questions
C++ Array Quiz

Quiz
•
University
12 questions
Array

Quiz
•
University
11 questions
Java Quiz 3 - Array

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade