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