
Mảng 2 chiều trong C
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
academy rikkei
Used 51+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Cách nào khai báo một mảng số nguyên gồm 5 phần tử trong C?
int array[5]
int array[]
int array[5] = {0;}
int array = {5}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để truy cập phần tử thứ 4 của một mảng trong C?
array[2];
array[3];
array(3);
array(2);
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Độ dài (length) của một mảng số nguyên được khai báo như thế nào?
array.size();
sizeof(array)/sizeof(int};
sizeof(array)/sizeof(array[0]);
sizeof(array)/sizeof(int);
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Lệnh nào dùng để khởi tạo một mảng với các giá trị ban đầu?
int array[] = {1, 2, 3, 4, 5};
int array = [1, 2, 3, 4, 5];
int array[5];
int array[5] = {1, 2, 3, 4, 5};
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để lặp qua các phần tử của một mảng bằng vòng lặp for?
for (int i = 0; i <= n; i++)
for (int i = 0; i < n; i++)
for (int i = 0; i < sizeof(array); i++)
for (int i = 0; i < sizeof(array)/sizeof(array[0]); i++)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chỉ số (index) của mảng trong lập trình C được bắt đầu từ mấy?
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phần tử cuối cùng ở trong mảng sẽ có chỉ số là bao nhiêu?
Chỉ số = Độ dài của mảng
Chỉ số = Độ dài của mảng + 1
Chỉ số = Độ dài của mảng - 1
Chỉ số = Độ dài của mảng + 2
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Bài 26
Quiz
•
10th Grade - University
15 questions
Session 04: Branching statements
Quiz
•
University
15 questions
Session 12 + 13 + 14: Searching and Sorting Algorithms
Quiz
•
University
15 questions
Understanding Loops in C Programming
Quiz
•
1st Grade - University
15 questions
DSA (QUIZ 3) - Recursion
Quiz
•
University
18 questions
Codean - Java Rekursi
Quiz
•
University
20 questions
Test Android
Quiz
•
University
15 questions
LATIHAN 1 - Hardware
Quiz
•
1st Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
