Hi,
I am wondering why my compiler gcc doesn't complain with following code
#include<iostream>
int main()
{
int j;
std::cin>>j;
int k[j];
}
Without new or malloc ,I could able to allocate memory dynamically.
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-56)
Can someone clarify it?
Thanks,
Manoj
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
[Non-text portions of this message have been removed]
