add demo for pointer and array
add demo for pointer with const