0% found this document useful (0 votes)
90 views1 page

Unit 7 Assignment A

This document contains questions about strings in C++. It asks about the position of the first character in a string, functions that return the length of a string, whether string is a data type in C++, and the number of parameters in the substr function.

Uploaded by

Tim Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views1 page

Unit 7 Assignment A

This document contains questions about strings in C++. It asks about the position of the first character in a string, functions that return the length of a string, whether string is a data type in C++, and the number of parameters in the substr function.

Uploaded by

Tim Williams
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Unit 7 Assignment A

zero (0)
size
length
true
false

1. What is the position of the first character in a string? (3 points)


2. Which C++ function(s) return(s) the number of characters currently in a
string? (3 points)
3. Is the data type string part of the C++ language? (3 points)
4. How many parameters does the substr function have? (3 points)

You might also like