C++ Final Quiz 2 - String & Character Functions

C++ Final Quiz 2 - String & Character Functions

University

15 Qs

quiz-placeholder

Similar activities

Pretest หน่วยที่ 4

Pretest หน่วยที่ 4

KG - University

15 Qs

QUIZ CC 102 (FUNCTIONS)

QUIZ CC 102 (FUNCTIONS)

University

15 Qs

Coleções - Python

Coleções - Python

University - Professional Development

17 Qs

C Programming quiz 3

C Programming quiz 3

University

10 Qs

C Programming Quiz-5

C Programming Quiz-5

University

10 Qs

Programación Básica 1.1 Instrucciones

Programación Básica 1.1 Instrucciones

University

20 Qs

DBMS Quiz

DBMS Quiz

University

20 Qs

Tutorium 2

Tutorium 2

University

10 Qs

C++ Final Quiz 2 - String & Character Functions

C++ Final Quiz 2 - String & Character Functions

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

riszty moyo

Used 196+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

It is a function will append a copy of the source string to the end of destination string.

strcmp

strcmpi

strcpy

strcat

2.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

It is a function that returns a pointer to the last occurrence of a character in a string.

strchr

strrev

strsearch

strcmp

3.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

It compares the two strings lexicographically means it starts comparison character by character starting from the first character until the characters in both strings are equal or a NULL character is encountered

strcpy

strcat

strcmp()

strrev

4.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

It is a standard library function in C/C++ and is used to copy one string to another

strcmp

strcat

strcpy

strrev

5.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

It is a function calculates the length of a given string.

strsize

strlen

strlength

strsz

6.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

It is a function that copies just part of a string to a destination.

strcpy

strncat

strncpy

strncmp

7.

MULTIPLE CHOICE QUESTION

30 sec • 12 pts

It is a function that converts C-string to an int value, returns the value

atol

atoi

atof

atoc

Access all questions and much more by creating a free account

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

Already have an account?