C++ Final Quiz 2 - String & Character Functions

C++ Final Quiz 2 - String & Character Functions

University

15 Qs

quiz-placeholder

Similar activities

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Java Básico

Java Básico

University

20 Qs

CPI:  Chapter 3 Variable

CPI: Chapter 3 Variable

KG - University

16 Qs

C - Structures

C - Structures

University

20 Qs

Quiz

Quiz

University

20 Qs

Revisão 2ºB Algoritmos e Lógica de Programação

Revisão 2ºB Algoritmos e Lógica de Programação

University

12 Qs

Chương trình máy tính và dữ liệu

Chương trình máy tính và dữ liệu

University

10 Qs

C++ data types

C++ data types

University

15 Qs

C++ Final Quiz 2 - String & Character Functions

C++ Final Quiz 2 - String & Character Functions

Assessment

Quiz

Computers

University

Medium

Created by

riszty moyo

Used 191+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?