Hàm nào được sử dụng để sao chép một chuỗi trong C?

Session 17+18: String

Quiz
•
Information Technology (IT)
•
University
•
Medium
academy rikkei
Used 31+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
strcpy()
strcat()
strcmp()
strlen()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để nối hai chuỗi trong C?
strcpy()
strcat()
strcmp()
strlen()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để so sánh hai chuỗi trong C?
strcpy()
strcat()
strcmp()
strlen()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để lấy độ dài của một chuỗi trong C?
strcpy()
strcat()
strcmp()
strlen()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để tìm một ký tự trong một chuỗi trong C?
strchr()
strstr()
strtok()
strcpy()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo chuỗi trong C được thực hiện như thế nào?
char chuoi[] = "Hello, world!";
int chuoi[] = "Hello, world!";
float chuoi[] = "Hello, world!";
double chuoi[] = "Hello, world!";
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để so sánh hai chuỗi C để xem chúng có bằng nhau hay không?
if (chuoi1 == chuoi2) { ... }
if (strcmp(chuoi1, chuoi2) == 0) { ... }
if (chuoi1 = chuoi2) { ... }
if (strcmp(chuoi1, chuoi2) != 0) { ... }
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Bài 26

Quiz
•
10th Grade - University
17 questions
Session 19: Pointer

Quiz
•
University
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)

Quiz
•
7th Grade - University
15 questions
Bài 29

Quiz
•
10th Grade - University
15 questions
Test wiedzy: Tablice jednowymiarowe w C++

Quiz
•
10th Grade - University
10 questions
Quiz CG - Code V2

Quiz
•
University
10 questions
Quiz Meet 1 Mini SC Programing

Quiz
•
University
15 questions
Punteros y Memoria Dinamica

Quiz
•
University
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
20 questions
Summer

Quiz
•
KG - University
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
47 questions
2nd Semester 2025 Map Final

Quiz
•
KG - University
43 questions
Science 5th Grade EOG Review #3

Quiz
•
KG - University
24 questions
Cartoon Characters

Quiz
•
KG - University
9 questions
What is your personality?

Quiz
•
University
10 questions
El Presente

Quiz
•
1st Grade - University
32 questions
NC Biology EOC Review : Heredity, Genetics, Biotechnology

Quiz
•
KG - University