4 and 5. size of will check its first operand. so no evaluation takes place...
On Sat, Sep 17, 2011 at 2:32 PM, abhinav gupta <[email protected]>wrote: > Ans will be:4,5.... > > > On Sat, Sep 17, 2011 at 2:23 PM, Sanjay Rajpal <[email protected]> wrote: > >> #include<stdio.h> >> >> int main() >> { >> int a=5; >> printf("Size : %d\n",sizeof( a =15/2)); >> printf("A is %d.",a); >> } >> >> What will be the value of a now ? Plz explain. >> Sanju >> :) >> >> -- >> 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.
