Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
#include
#include
using namespace std; int main() { char str1[] = "Apple"; char str2[] = "Banana"; int result = strcoll(str1, str2); cout << (result < 0 ? "Apple comes first" : "Banana comes first"); return 0; }
Apple comes first