it is Ok.. But why that error is not shown for main in first snippet
Brett McCoy wrote:
> On Fri, Oct 31, 2008 at 10:12 AM, Manoj Vivek < vivek_jonam@
> yahoo.com > wrote:
>> observe the both snippets
>>
>> *
>> main()
>> {
>> printf("%d", main);
>> }
>>
>> *
>> main()
>> {
>> printf("%d", a);
>> }
>> have you observed.... . The first snippet does not show any errors while
>> second one shows an error as "unknown symbol a" ..., why please explain
> It should be obvious. You didn't declare a.
> -- Brett
> ------------ --------- --------- --------- --------- --------- -
> "In the rhythm of music a secret is hidden;
> If I were to divulge it, it would overturn the world."
> -- Jelaleddin Rumi
>