Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- string name1 = "John "; // one with space-sign
- string name2 = "John"; // and one without
- // Expected:TRUE
- // Actual:FALSE
- name1==name2 ? cout << "TRUE" : cout << "FALSE";
- }
- OUTPUT: FALSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement