B
bingfeng
Hi, everyone,
Is the following code
<CODE>
void foo(int n)
{
int a[n];
.....
}
</CODE>
standard compliant and portable?
I use intel's, M$'s, borland's Digital Mars's and GUN(c89)'s compiler
compiled it, the first three report error but the last two were passed
silently. I want to know whether that code is portable.
Ths in advance.
£££££££££££££££££££££££££££
Best regards,
Is the following code
<CODE>
void foo(int n)
{
int a[n];
.....
}
</CODE>
standard compliant and portable?
I use intel's, M$'s, borland's Digital Mars's and GUN(c89)'s compiler
compiled it, the first three report error but the last two were passed
silently. I want to know whether that code is portable.
Ths in advance.
£££££££££££££££££££££££££££
Best regards,