
Session 17+18: String

Quiz
•
Information Technology (IT)
•
University
•
Medium
academy rikkei
Used 32+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để sao chép một chuỗi trong C?
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 Wayground
10 questions
Tin 9 Bài 8. Hàm SUMIF

Quiz
•
9th Grade - University
15 questions
Bài 28

Quiz
•
10th Grade - University
10 questions
Типы данных. Переменные. Операции в Java

Quiz
•
University
10 questions
Arrays in CQuiz

Quiz
•
1st Grade - University
12 questions
Aula07 - Matrizes

Quiz
•
University
13 questions
Session 15 + 16 : Function

Quiz
•
University
9 questions
Kiến thức về hàm print() trong Python

Quiz
•
2nd Grade - University
11 questions
TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade