Chapter 10: Problem 28
Assume input is a char array holding a C-string. Write code that counts the number of elements in the array that contain an alphabetic character.
Chapter 10: Problem 28
Assume input is a char array holding a C-string. Write code that counts the number of elements in the array that contain an alphabetic character.
All the tools & learning materials you need for study success - in one app.
Get started for freeThe __________ function returns the lowercase equivalent of its character argument.
\(\mathrm{T}\) F If the starting address of a string is passed into a pointer parameter, it can be assumed that all the characters, from that address up to the byte that holds the null terminator, are part of the string.
What header file must you include in a program using string class objects?
What header file must you include in a program using string functions such as strien and strcpy?
T \(F\) The strcpy function will overwrite the contents of its first string argument.
What do you think about this solution?
We value your feedback to improve our textbook solutions.