funkytable wrote:
> Sorry Mark, but gcc version 3.3.4 allows this function without errors:
>
> int f(int N) {
> int A[N];
> A[2] = 0;
> return(0);
> }
Yes, but gcc allows you to more than the C++ Standard allows. So in
standard C++ it would be an error. I think gcc is the only C++ compiler
that accepts this code.
--
Mark Van Peteghem
http://www.q-mentum.com -- easier and more powerful unit testing
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~->
To unsubscribe : [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=3632
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/