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 |
Tags
- hadoop
- MySQL
- Italy
- Linux
- agile
- history
- management
- Malaysia
- django
- essay
- web
- programming_book
- RFID
- France
- leadership
- Python
- Spain
- Book review
- QT
- Book
- ubuntu
- program
- Programming
- hbase
- Kuala Lumpur
- psychology
- Software Engineering
- erlang
- comic agile
- Java
Archives
- Today
- Total
목록const (1)
const int* const pointer
//http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/C/Documents/Tip#s-2 #include void main() { const inti=3; //i=4;//compile error int*p=(int*)&i; printf("%d\t%d\n", i, *p); *p=4; printf("%d\t%d\n", i, *p); const intci1=4, ci2=8; //canNOT change value, can change the address const int*cip=&ci1; printf("%d\t%d\t%d\n", ci1, ci2, *cip); cip=&ci2; //*cip=0;//compile error printf("%d\t%d\t%d\n", ..
Programming/C
2011. 5. 7. 06:33