[algogeeks] Re: Printf
Logical Address ... as Physical address is not accessable tht's wht OS does , it maps the physical address to the logical address . -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf
Its logical address !! On Fri, Aug 5, 2011 at 5:07 PM, Dipankar Patro wrote: > +1 to logical address. > User programs are never given access to physical address. > > > On 5 August 2011 17:00, muthu raj wrote: > >> physical adress is never acessible.Those who claim physical adress pls >> support ur answers. >> *Muthuraj R >> IV th Year , ISE >> PESIT , Bangalore* >> >> >> >> >> On Fri, Aug 5, 2011 at 4:57 PM, Kamakshii Aggarwal > > wrote: >> >>> logical address >>> >>> >>> On Fri, Aug 5, 2011 at 2:20 PM, Amol Sharma wrote: >>> physical address i think -- Amol Sharma Third Year Student Computer Science and Engineering MNNIT Allahabad On Fri, Aug 5, 2011 at 1:01 AM, amit karmakar < amit.codenam...@gmail.com> wrote: > Some discussions here, > http://ubuntuforums.org/showthread.php?t=316081 > and some here, > http://groups.google.com/group/comp.lang.c/msg/21250e8fe083e4f8 > > On Aug 5, 12:51 pm, Anurag Narain wrote: > > i think logical address...physical address is never accessible to > user > > program > > > > @amit-can u explain why?? > > -- > You received this message because you are subscribed to the Google > Groups "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. >>> >>> >>> >>> -- >>> Regards, >>> Kamakshi >>> kamakshi...@gmail.com >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > > ___ > > Please do not print this e-mail until urgent requirement. Go Green!! > Save Papers <=> Save Trees > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf
+1 to logical address. User programs are never given access to physical address. On 5 August 2011 17:00, muthu raj wrote: > physical adress is never acessible.Those who claim physical adress pls > support ur answers. > *Muthuraj R > IV th Year , ISE > PESIT , Bangalore* > > > > > On Fri, Aug 5, 2011 at 4:57 PM, Kamakshii Aggarwal > wrote: > >> logical address >> >> >> On Fri, Aug 5, 2011 at 2:20 PM, Amol Sharma wrote: >> >>> physical address i think >>> -- >>> >>> >>> Amol Sharma >>> Third Year Student >>> Computer Science and Engineering >>> MNNIT Allahabad >>> >>> >>> >>> >>> On Fri, Aug 5, 2011 at 1:01 AM, amit karmakar >> > wrote: >>> Some discussions here, http://ubuntuforums.org/showthread.php?t=316081 and some here, http://groups.google.com/group/comp.lang.c/msg/21250e8fe083e4f8 On Aug 5, 12:51 pm, Anurag Narain wrote: > i think logical address...physical address is never accessible to user > program > > @amit-can u explain why?? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> >> >> -- >> Regards, >> Kamakshi >> kamakshi...@gmail.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- ___ Please do not print this e-mail until urgent requirement. Go Green!! Save Papers <=> Save Trees -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf
physical adress is never acessible.Those who claim physical adress pls support ur answers. *Muthuraj R IV th Year , ISE PESIT , Bangalore* On Fri, Aug 5, 2011 at 4:57 PM, Kamakshii Aggarwal wrote: > logical address > > > On Fri, Aug 5, 2011 at 2:20 PM, Amol Sharma wrote: > >> physical address i think >> -- >> >> >> Amol Sharma >> Third Year Student >> Computer Science and Engineering >> MNNIT Allahabad >> >> >> >> >> On Fri, Aug 5, 2011 at 1:01 AM, amit karmakar >> wrote: >> >>> Some discussions here, >>> http://ubuntuforums.org/showthread.php?t=316081 >>> and some here, >>> http://groups.google.com/group/comp.lang.c/msg/21250e8fe083e4f8 >>> >>> On Aug 5, 12:51 pm, Anurag Narain wrote: >>> > i think logical address...physical address is never accessible to user >>> > program >>> > >>> > @amit-can u explain why?? >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Algorithm Geeks" group. >>> To post to this group, send email to algogeeks@googlegroups.com. >>> To unsubscribe from this group, send email to >>> algogeeks+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > Regards, > Kamakshi > kamakshi...@gmail.com > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf
logical address On Fri, Aug 5, 2011 at 2:20 PM, Amol Sharma wrote: > physical address i think > -- > > > Amol Sharma > Third Year Student > Computer Science and Engineering > MNNIT Allahabad > > > > > On Fri, Aug 5, 2011 at 1:01 AM, amit karmakar > wrote: > >> Some discussions here, >> http://ubuntuforums.org/showthread.php?t=316081 >> and some here, >> http://groups.google.com/group/comp.lang.c/msg/21250e8fe083e4f8 >> >> On Aug 5, 12:51 pm, Anurag Narain wrote: >> > i think logical address...physical address is never accessible to user >> > program >> > >> > @amit-can u explain why?? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards, Kamakshi kamakshi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf
physical address i think -- Amol Sharma Third Year Student Computer Science and Engineering MNNIT Allahabad On Fri, Aug 5, 2011 at 1:01 AM, amit karmakar wrote: > Some discussions here, > http://ubuntuforums.org/showthread.php?t=316081 > and some here, > http://groups.google.com/group/comp.lang.c/msg/21250e8fe083e4f8 > > On Aug 5, 12:51 pm, Anurag Narain wrote: > > i think logical address...physical address is never accessible to user > > program > > > > @amit-can u explain why?? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: Printf
Some discussions here, http://ubuntuforums.org/showthread.php?t=316081 and some here, http://groups.google.com/group/comp.lang.c/msg/21250e8fe083e4f8 On Aug 5, 12:51 pm, Anurag Narain wrote: > i think logical address...physical address is never accessible to user > program > > @amit-can u explain why?? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf
i think logical address...physical address is never accessible to user program @amit-can u explain why?? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: Printf
Invokes undefined behavior.! On Aug 5, 12:47 pm, Aman Goyal wrote: > physical address i suppose... > > > > On Fri, Aug 5, 2011 at 1:09 PM, anurag wrote: > > What will be the output. > > > int i=5; > > printf("%u",&i); > > What it will print: > > i. 5 > > ii. Base address of the memory > > iii. Physical address > > iv. Logical address > > > -- > > You received this message because you are subscribed to the Google Groups > > "Algorithm Geeks" group. > > To post to this group, send email to algogeeks@googlegroups.com. > > To unsubscribe from this group, send email to > > algogeeks+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/algogeeks?hl=en. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf ...
@sagain:in dev c it is #s Zi On Sat, Jul 16, 2011 at 3:35 PM, Ankur Khurana wrote: > I am using MinGW compiler (codeblocks , out put is 788 and not 678 . Its > compiler dependent so , let us leave it that way only. > > > On Sat, Jul 16, 2011 at 3:27 PM, shiv narayan > wrote: > >> according to me it processing is done from righ to left .first right >> most a would be incremented and then from righ to left >> for first question answer should be 8+7+6=21 >> and for 2nd it should be >> >> (8)+(7)*10+(6)*100=678 >> >> On Jul 15, 1:15 pm, Antony Kotre wrote: >> > can any tell and explain the output of following code >> > >> > #include >> > main() >> > { int a =5, b=5; >> > int res1=(++a)+(++a)+(++a); >> > int res2=(++b)+(++b)*10+(++b)*100; >> > >> > printf("%d\n%d\n",res1,res2); >> > >> > >> > >> > >> > >> > >> > >> > } >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Regards, Kamakshi kamakshi...@gmail.com -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
Re: [algogeeks] Re: Printf ...
I am using MinGW compiler (codeblocks , out put is 788 and not 678 . Its compiler dependent so , let us leave it that way only. On Sat, Jul 16, 2011 at 3:27 PM, shiv narayan wrote: > according to me it processing is done from righ to left .first right > most a would be incremented and then from righ to left > for first question answer should be 8+7+6=21 > and for 2nd it should be > > (8)+(7)*10+(6)*100=678 > > On Jul 15, 1:15 pm, Antony Kotre wrote: > > can any tell and explain the output of following code > > > > #include > > main() > > { int a =5, b=5; > > int res1=(++a)+(++a)+(++a); > > int res2=(++b)+(++b)*10+(++b)*100; > > > > printf("%d\n%d\n",res1,res2); > > > > > > > > > > > > > > > > } > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
[algogeeks] Re: Printf ...
according to me it processing is done from righ to left .first right most a would be incremented and then from righ to left for first question answer should be 8+7+6=21 and for 2nd it should be (8)+(7)*10+(6)*100=678 On Jul 15, 1:15 pm, Antony Kotre wrote: > can any tell and explain the output of following code > > #include > main() > { int a =5, b=5; > int res1=(++a)+(++a)+(++a); > int res2=(++b)+(++b)*10+(++b)*100; > > printf("%d\n%d\n",res1,res2); > > > > > > > > } -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.