integer - How does computer identifiy what was stored in its memory? -


how computer know it's integer, not memory address or not ascii?

how computer knows it, interpret in right way?

a computer doesn't know (unless have advanced architecture each memory location has tag value indicating what's stored there). stores , retrieves bits.

programs know how interpret bits because told programmer how so. assuming programmer competent of course :-)


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -