fork download
  1. #include <stdio.h>
  2.  
  3. int main( int argc, char **argv )
  4. {
  5. char nome[] = "zezinho";
  6. int i;
  7.  
  8. for (i = 0; i < nome[i] != '\0'; i++)
  9. {
  10. if (nome[i] == 'z')
  11. nome[i] = 'p';
  12. }
  13. printf( "%s", nome );
  14. }
  15.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
pepinho