fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3. int main(void) {
  4. // your code goes here
  5.  
  6. char str[5] = "z";
  7.  
  8. if(strcmp(str,"hello") > 0)
  9. printf("%s",str);
  10. else
  11. printf("비교값이 0보다 작음");
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 4184KB
stdin
Standard input is empty
stdout
z