Hardware and Software Design Question:

Explain Memory taken for char *, int * etc.?

Tweet Share WhatsApp

Answer:

Generally for integer memory is 2 bytes for character is 1 byte

char * and int * are pointers. they point to a memory location hence there size is the same, which is the size of the address space.

Download Hardware and Software Design PDF Read All 15 Hardware and Software Design Questions
Previous QuestionNext Question
Write a code to count the no. of 1s in a binary representation of a number?How does the browser know to go to a certain IP address when you enter a domain like globalguideline.com?