fork download
  1. #include <iostream>
  2. #include <string.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. char a[50], b[50];
  7. bool c;
  8. strcpy (a, "Leticia");
  9. strcpy (b, "Fabio");
  10.  
  11. c = strcmp (a, b) == 0;
  12.  
  13. cout << c;
  14. return 0;
  15. }
Success #stdin #stdout 0s 4816KB
stdin
Standard input is empty
stdout
Standard output is empty