4,5 statements inside sizeof() does not get executed...it will tell just size...
int a=3; printf("%d",sizeof(a++)); here a++ will not be executed ...it will just tell size ... Also, lets suppose it execute statements ...then sizeof(int),sizeof(node *) ...will always produce error because int and node* are not executable statements.... On Sat, Sep 17, 2011 at 2:48 PM, prasanth n <nprasnt...@gmail.com> wrote: > 4,7..if we assume the sizeof(int) as 4 bytes.. > > > On Sat, Sep 17, 2011 at 2:32 PM, abhinav gupta <abhinav....@gmail.com>wrote: > >> Ans will be:4,5.... >> >> >> On Sat, Sep 17, 2011 at 2:23 PM, Sanjay Rajpal <srn...@gmail.com> 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 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. >> > > > > -- > *prasanth* > > -- > 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.