Session 17+18: String

Session 17+18: String

University

14 Qs

quiz-placeholder

Similar activities

5. TRANSMISION DE DATOS NIVEL DE TRANSPORTE

5. TRANSMISION DE DATOS NIVEL DE TRANSPORTE

University

10 Qs

Bài 26

Bài 26

10th Grade - University

15 Qs

Session 02

Session 02

University

15 Qs

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

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

7th Grade - University

15 Qs

Quiz Meet 1 Mini SC Programing

Quiz Meet 1 Mini SC Programing

University

10 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

Test de C++ pentru clasa a 10-a

Test de C++ pentru clasa a 10-a

10th Grade - University

15 Qs

Quiz Larik (Array)

Quiz Larik (Array)

11th Grade - University

13 Qs

Session 17+18: String

Session 17+18: String

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

academy rikkei

Used 40+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?