소스 검색

fix ex2

master
RinRi 1 년 전
부모
커밋
c114cc41ec
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      week02/ex2
  2. +2
    -0
      week02/ex2.c

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

불러오는 중...
취소
저장