fork(12) download
  1. #include <stdio.h>
  2. #include <ctype.h>
  3.  
  4. int main(void) {
  5. char quote[] = "To be or not to be, that is the question.";
  6. int i;
  7. for (i = 0; quote[i] != '\0'; i++){
  8. quote[i] = tolower(quote[i]);
  9. }
  10. printf("%s\n",quote);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
to be or not to be, that is the question.