Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- RFID
- Book
- Python
- Malaysia
- ubuntu
- agile
- Spain
- QT
- programming_book
- hadoop
- Italy
- France
- hbase
- Kuala Lumpur
- program
- history
- erlang
- leadership
- MySQL
- Programming
- Software Engineering
- web
- psychology
- management
- essay
- Book review
- Linux
- comic agile
- django
- Java
Archives
- Today
- Total
인텔 면접에 나와 유명해졌다는 문제 본문
출처: http://lohengrin.egloos.com/1907690
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("-");
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("-");
Comments