Which of the following is correct?

c programming module 2 test

Quiz
•
Other
•
University
•
Hard

Hridinya Pavithran
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(i=0,i<n,i++)
for(i=0,i<n,i++);
for(i=0;i<n;i++);
for(i=0;i<n;i++)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for loop is an example of
conditional statement
looping statement
both of these
breking statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is meaning of following declaration ?
int arr[20];
Array of size 20 that can have integer address
Array of Size 20
Integer array of Size 20
none of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Below is an example of -
int RollNum[30][4];
1 D array
2 D array
3 D array
4 D array
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Array in C language.?
A group of elements of same data type.
An array contains more than one element
Array elements are stored in memory in continuous or contiguous locations.
all the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array Index starts with.?
0
1
-1
2
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of C Program.?
int main()
{
int a[];
a[4] = {1,2,3,4};
printf("%d", a[0]);
}
1
2
1,2,3,4
compiler error
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
JAVA FUNDAMENTALS

Quiz
•
University
10 questions
Arrays - 2D

Quiz
•
University
15 questions
C Quiz

Quiz
•
University
10 questions
Bài tập biến mảng

Quiz
•
1st Grade - University
13 questions
Java Programming Quiz

Quiz
•
University
10 questions
c set 3

Quiz
•
University
10 questions
Java set 1

Quiz
•
University
15 questions
Tech quiz Round 1

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