C++ Final Quiz 2 - String & Character Functions

C++ Final Quiz 2 - String & Character Functions

University

15 Qs

quiz-placeholder

Similar activities

Sintaxis en C

Sintaxis en C

University

15 Qs

Programming concepts in c - Quizizz-III

Programming concepts in c - Quizizz-III

University

20 Qs

Methods

Methods

University

11 Qs

Algoritma + Pascal

Algoritma + Pascal

University

20 Qs

SAINS KOMPUTER 1.3

SAINS KOMPUTER 1.3

University

11 Qs

JAVA I/O

JAVA I/O

University

10 Qs

C++ Basics (1)

C++ Basics (1)

University

12 Qs

UTS PEMROGRAMAN KOMPUTER

UTS PEMROGRAMAN KOMPUTER

University

20 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?