i'm going over some theory and I was wondering could someone help clarify that i have the just of it.
I've come across a question that asks me how many bytes of memory it would take to store an array of 100 integers and an array of 100 character pointers:
would i be right in saying that the the integer array would be 400 bytes? and the array of character pointers would depend on the architecture of the CPU - a 32bit processor resulting in 4 bytes of storage per pointer and a 64bit processor resulting in 8 bytes per pointer?
Thank you to anyone who has any input on the subject, really need to get this seared into my brain exam time is just a stones throw away.