fork download
  1. #include<iostream>
  2. #include<cstring>
  3. using namespace std ;
  4. int main ()
  5. {
  6. int a , v , z , q;
  7. char str1 [] = "vzqa" ;
  8. char str2 [] = "azqa" ;
  9. cout << strcmp(str1,str2) << endl ;
  10.  
  11. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
21