Consider two pointers, ptr_int (pointing to int) and ptr_char (pointing to char),…

Written by

in

Consider two pointers, ptr_int (pointing to int) and ptr_char (pointing to char), both initially at memory address 1000. After executing ++ptr_int and ++ptr_char, their new addresses (assuming int=4 bytes, char=1 byte) will be:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

More posts