Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is the null character used for in a string?
Think about how strings are structured in memory.
How do you declare a string in C++?
Remember how arrays are defined.
What character signifies the end of a string?
Think about how strings are defined.
The function 'strcat' is used for what?
Think about how you could combine two pieces of text.
Develop a function in C++ that reverses a string.
Consider creating a new string to hold the reversed version.
Write an algorithm that counts the number of vowels in a string.
Think about how a conditional statement can help in checking each character.
5 more questions in this section. Enroll free to practise them all.
Enroll free