개발자 면접 문제 중...

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

Posted by 노헝그리

2008/06/27 11:15 2008/06/27 11:15
,
Response
44 Trackbacks , a comment
RSS :
http://www.nohungry.net/tt1/rss/response/130

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

Comments List

  1. 하늘바다 2008/06/27 17:06 # M/D Reply Permalink

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

Leave a comment
[로그인][오픈아이디란?]
« Previous : 1 : ... 4 : 5 : 6 : 7 : 8 : 9 : 10 : 11 : 12 : ... 130 : Next »

블로그 이미지

뽐뿌가 없으면 블로그도 없다.

- 노헝그리

Archives

Calendar

«   2009/01   »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Site Stats

Total hits:
129879
Today:
61
Yesterday:
93