RinRi před 1 rokem
rodič
revize
c114cc41ec
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. binární
      week02/ex2
  2. +2
    -0
      week02/ex2.c

binární
week02/ex2 Zobrazit soubor


+ 2
- 0
week02/ex2.c Zobrazit soubor

@@ -12,7 +12,9 @@ int main() {
s[i] = '\0';
// i is already the size of s. I've used strlen to follow the 'hints'
// section.
putc('\"', stdout);
for (i = strlen(s) - 1; i >= 0; --i) {
putc(s[i], stdout);
}
putc('\"', stdout);
}

Načítá se…
Zrušit
Uložit