why char pointer take four bytes.while char take only one byte
why char pointer take four bytes.while char take only one byte
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
Pointer is defined as an ‘INTEGER’ variable that stores the Logical address of the Datatype to which it is pointing. No matter which datatype it is pointing to, it’ll be an Integer itself. Thus it occupies 4 bytes.