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 |
Tags
- Artificial Intelligence
- program
- RFID
- Linux
- Kuala Lumpur
- Java
- QT
- France
- Programming
- Software Engineering
- AI
- Italy
- Python
- Book
- essay
- erlang
- ubuntu
- hadoop
- management
- django
- leadership
- Malaysia
- agile
- hbase
- history
- Book review
- web
- comic agile
- programming_book
- MySQL
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