dyanamic allocation on stack on run time

Posted by shrikant on Stack Overflow See other posts from Stack Overflow or by shrikant
Published on 2010-03-22T04:05:45Z Indexed on 2010/03/22 4:11 UTC
Read the original article Hit count: 324

Filed under:
main()
{
int i=256;
char buf[i];
}

perfectly compile on g++ but gives an error on visual studio 8.

anybody know why it is happening,

Thanks

© Stack Overflow or respective owner

Related posts about c++