sizeof never executes whatever expression is given as parameter.
It needs only size of parameter.
In this case, parameter main() returns an int type.
So sizeof returns sizeof int. It doesnt need to call main() to get its task,
of finding size, done.

On Tue, Sep 6, 2011 at 11:41 PM, siddharam suresh
<siddharam....@gmail.com>wrote:

> its size of return type, but why the above program not showing segmentation
> fault?
> Thank you,
> Sid.
>
>
>
> On Tue, Sep 6, 2011 at 11:34 PM, ankush garg <agb.g...@gmail.com> wrote:
>
>> better contact AKSHAY CHADHA .. the person is quite good at c and
>> algos.... currently placed in MICROSOFT..
>> akshay.chadha...@gmail.com
>> 9899466888
>>
>> --
>> 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.
>

-- 
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.

Reply via email to