sizeof is nt defined for function type....undefined reslt....

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

> *main()* is an address/probably the function pointer,
> Thank you,
> Sid.
>
>
>
> On Tue, Sep 6, 2011 at 11:19 PM, Sanjay Rajpal <srn...@gmail.com> wrote:
>
>> #include <stdio.h>
>> #include<conio.h>
>> int main() {
>>
>> printf(" %d",sizeof(main()));
>> ... getche();
>> return 0;
>> }
>> o/p is 4..how ???
>>
>>
>> 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.
>



-- 

       Regards
 Himanshu Kansal
   Msc Comp. sc.
(University of Delhi)

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