Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iostream>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- void main()
- {
- const std::string abc = "hello";
- if (abc.c_str() == "hello")
- {
- cout << "nYES";
- }
- else
- {
- cout << "NO";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement