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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

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