Question
If the same symbol is used for both single characters and strings, how can you distinguish between a single character and a one-character string?
Step 1
g., single or double quotes). To distinguish between a single character and a one-character string, you can consider the following: Show more…
Show all steps
Your feedback will help us improve your experience
Florencia Cuzmar and 57 other educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Design an algorithm that, given two strings of characters, tests whether the second string is same as the first string or not.
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD