- https://replit.com/@tony1966/c-test#ch10-pointer/Example01.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example02.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example03.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example04.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example05.c
https://replit.com/@tony1966/c-test#ch10-pointer/Example05-1.c - https://replit.com/@tony1966/c-test#ch10-pointer/Example06.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example07.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example08.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example09.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example10.c
- https://replit.com/@tony1966/c-test#ch10-pointer/Example11.c
練習題 :
- 利用指標當參數呼叫函式求整數的平方 (傳址呼叫)
https://replit.com/@tony1966/c-test#ch10-pointer/practice01.c - 自訂一個函式mymean(),傳入一個大小為5的整數陣列,傳回元素的平均值
https://replit.com/@tony1966/c-test#ch10-pointer/practice02.c - 從鍵盤輸入一個字串,利用指標將字串中的空白字元全部改成星號
https://replit.com/@tony1966/c-test#ch10-pointer/practice03.c
作業 :
- 利用指標自訂一個函式mystrcpy()將字串1複製到字串2
https://replit.com/@tony1966/c-test#ch10-pointer/homework01.c - 利用指標自訂一個函式mystrcmp()比對兩個字串是否完全相同,相同傳回1,不相同傳回-1
https://replit.com/@tony1966/c-test#ch10-pointer/homework02.c
沒有留言:
張貼留言