tag:blogger.com,1999:blog-959939550345671470.post7824643955946652209..comments2024-03-24T12:51:18.535+05:30Comments on C programming Interview questions and answers: Physical address of a computerPriyanka kumarihttp://www.blogger.com/profile/08145649011863585828noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-959939550345671470.post-15462546241309124062013-09-26T23:18:33.699+05:302013-09-26T23:18:33.699+05:30admin in case of 32 bit compiler..if i am using a ...admin in case of 32 bit compiler..if i am using a computer with 2 gb ram..then how compiler will allocate this memory??Anonymoushttps://www.blogger.com/profile/10718232858333300273noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-84497934605622929402013-06-13T23:08:40.164+05:302013-06-13T23:08:40.164+05:30Hello Naveen, I'd like to answer your question...Hello Naveen, I'd like to answer your question, the writer has written the right thing, he just forgot to make it clear.<br />2 ^ 32 Bytes, In this expression, it is not 32 Bytes, I'll write a simple English sentence so your doubt will be cleared -<br />"2 rest to power 32 and whatever will come will be in term of BYTES"<br />So the correct express will be 2 ^ 32 (Bytes)<br />Anonymoushttps://www.blogger.com/profile/07310835716323272228noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-68725086934591654512013-04-27T17:02:31.917+05:302013-04-27T17:02:31.917+05:30It is little confusing
It given that residence mem...It is little confusing<br />It given that residence memory is 1 mb for turboc 3.0. and it is 16 bit compiler.<br />How address range is from ox0000 to oxFFFF.<br />It should be 0x00000 to 0xFFFFFAnonymoushttps://www.blogger.com/profile/09611521811176886173noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-63418956523691362042013-04-03T01:41:20.922+05:302013-04-03T01:41:20.922+05:30Thanks....
turbo c++ 3.0 is 20bit address so
2^20 ...Thanks....<br />turbo c++ 3.0 is 20bit address so<br />2^20 = 1MB<br />Where 20 is number of bit.<br />so here 32bit address should be 2^32 bit = 4gb. but <br />=2^32 byte?<br />=4gb?Anonymoushttps://www.blogger.com/profile/16451409391097252494noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-86480709980912151002013-04-03T01:39:49.952+05:302013-04-03T01:39:49.952+05:30This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/16451409391097252494noreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-47370235367803022052011-09-27T20:48:51.321+05:302011-09-27T20:48:51.321+05:30something wrong in your example code: You only dec...something wrong in your example code: You only declare "a" variable, but you print x address variable.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-959939550345671470.post-58289157702581914882011-09-20T14:14:56.010+05:302011-09-20T14:14:56.010+05:30It is little confusing
It given that residence mem...It is little confusing<br />It given that residence memory is 1 mb for turboc 3.0. and it is 16 bit compiler.<br />How address range is from ox0000 to oxFFFF.<br />It should be 0x00000 to 0xFFFFFAnuradhahttps://www.blogger.com/profile/16307634250199747409noreply@blogger.com