개발자 면접 문제 중...

2008/06/27 11:15
Find three ways to change one character in the following code so that the resulting
code will print exactly 20 minus signs

Remember: for each solution you can only change "one" character from this original code:

int
i, n=20;
for(i =0 ; i < n ; i--)
  printf
("-");

: 인텔 개발자 인터뷰에서 나온 문제랍니다!^^ 자신은 과연 몇 개나 생각했나요?ㅋ

more..


출처: http://theeye.pe.kr/
크리에이티브 커먼즈 라이센스
Creative Commons License
TAG ,

Trackback

Trackback Address :: http://www.nohungry.net/tt1/trackback/130

Comments

  1. 하늘바다 2008/06/27 17:06

    난 두개~ 으앗.... 첫번째 걸 놓치다니.... -_-

    perm. |  mod/del. |  reply.

What's on your mind?

댓글 입력 폼
[로그인][오픈아이디란?]