
Quizziz - Chuỗi ký tự trong C
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Practice Problem
•
Hard
Quý Ngọ
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp nào sau đây đúng để khai báo một chuỗi ký tự trong C?
char str[] = "Hello"
char str = "Hello";
char str{6} = "Hello"
str = "Hello"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào sau đây được sử dụng để lấy độ dài của chuỗi trong C?
length()
strlen()
strlength()
size()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi khai báo một chuỗi ký tự, ký tự nào được tự động thêm vào cuối chuỗi?
\r
\0
\n
\t
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để so sánh hai chuỗi trong C?
strcompare()
strcmp()
strcomp()
compare()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu bạn khai báo một chuỗi như sau: char str[10] = "Hello";
Kích thước của mảng str là bao nhiêu?
6
5
10
11
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả trả về từ đoạn mã trên là gì?
In ra nội dung
"Length of str: 10"
Lỗi biên dịch
null
In ra nội dung
"Length of str: 14"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau sẽ in ra gì: printf("%s", "Hello"[1]);?
H
e
l
Lỗi biên dịch
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
SIOT - Komunikasi Data Serial UART
Quiz
•
11th - 12th Grade
10 questions
Khám Phá Mạch Điện và Cảm Biến
Quiz
•
9th Grade - University
10 questions
GIỚI THIỆU VỀ PHÂN BÓN
Quiz
•
10th Grade
20 questions
Tin học 5-Ôn tập HK2 (24-25)
Quiz
•
5th Grade - University
15 questions
BaitapChuong1
Quiz
•
9th Grade
10 questions
Chủ đề 9 IC3 Spark: Living Online
Quiz
•
2nd Grade - Professio...
13 questions
ÔN TẬP KIỂM TRA 15 PHÚT LẦN 1
Quiz
•
11th Grade
10 questions
Cách mạng công nghiệp
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Instructional Technology
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
