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