ソースを参照

fix ex2

master
RinRi 1年前
コミット
c114cc41ec
2個のファイルの変更2行の追加0行の削除
  1. バイナリ
      week02/ex2
  2. +2
    -0
      week02/ex2.c

バイナリ
week02/ex2 ファイルの表示


+ 2
- 0
week02/ex2.c ファイルの表示

@@ -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);
}

読み込み中…
キャンセル
保存