Thanks for correcting.Dont know what i was thinking.:(

On Sun, Mar 27, 2011 at 8:53 AM, D.N.Vishwakarma@IITR <[email protected]>wrote:

> *@ Saurabh Singh gcc doesn't give it as error  but turbo gives it as error
> ...
> As per ANSI C there is no error becoz n is already known before use...
> *
> On Sun, Mar 27, 2011 at 8:44 AM, saurabh singh <[email protected]>wrote:
>
>> The array allocation in c should be done at compile time.since its defined
>> in c gcc rightly gives an error.
>> I am not sure why turbo c does not gives an error but you need not worry
>> about it,its how it might be implemented.Compilers are free to implement the
>> language in the way they want.
>>  --
>> Saurabh Singh
>> B.Tech (Computer Science)
>> MNNIT ALLAHABAD
>>
>>
>>  --
>> 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.
>>
>
>
>
> --
> *With Regards
> Deoki Nandan Vishwakarma
> IITR MCA
> Mathematics Department
> *
>
>  --
> 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.
>



-- 
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD

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

Reply via email to