ya i also want the explaination of gcc compiler output.......thanx in advance
On Sun, Feb 6, 2011 at 10:13 AM, tech rascal <[email protected]>wrote: > but can nybody explain why the output is coming like this on gcc compiler?? > > On Sun, Feb 6, 2011 at 10:04 AM, Manish Verma <[email protected]>wrote: > >> >> i think juver has explained >> On Feb 5, 9:34 pm, jagannath prasad das <[email protected]> wrote: >> > @manish:can you explain with the example of a specific compiler... >> > >> > On Sat, Feb 5, 2011 at 10:02 PM, jagannath prasad das >> > <[email protected]>wrote: >> > >> > >> > >> > > @ankit:ans is 22 13 14 14 in gcc compiler............. >> > >> > > On Sat, Feb 5, 2011 at 7:24 PM, Manish Verma <[email protected] >> >wrote: >> > >> > >> answer will depend on your compiler..... >> > >> > >> On Feb 5, 1:02 am, jagannath prasad das <[email protected]> wrote: >> > >> > *#include<stdio.h> >> > >> > void main(void) >> > >> > { >> > >> > int a=10,b; >> > >> > b=a++ + ++a; >> > >> > printf("%d,%d,%d,%d",b,a++,a,++a); >> > >> > >> > } >> > >> > >> > *what is the answer?how are the function parameters passed on the >> stack? >> > >> > >> -- >> > >> You received this message because you are subscribed to the Google >> Groups >> > >> "Algorithm Geeks" group. >> > >> To post to this group, send email to [email protected]. >> > >> To unsubscribe from this group, send email to >> > >> [email protected] >> <algogeeks%2Bunsubscribe@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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
