in windows I would suggest you to use, Dev C ++, uses min-gw as base lib,
works as close to gcc as any can on windows, switch to linux while
developing, use Virtual Box [free/OSS] to host linux on same machine as
windows.

Answer to ur question, difference of compiler. One more you can try declare
all the variables in turbo c above printf statements and then below the
printf, second one would throw an error.



On Sat, Mar 26, 2011 at 10:31 PM, Rupendra Bakoliya <rups041...@gmail.com>wrote:

> int n;
> scanf("%d",&n);
>
> int a[n];
>
> in turbo c it this code will give an error but gcc will not.why???
>
>
> --
>
> Rupendra Bakoliya
> III year.
> Computer Engineering Department
> MNIT,jaipur.
>
>  --
> 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.
>



-- 
*Peeyush Raj*
Codescape Consultants Pvt Ltd
+91 946 086 6733 (m)
+91 141 400 2993 (o)
p...@codescape.in
www.codescape.in

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