Is it possible to create an array of objects of a class having paramaterised public constructors in C++? The actual parameters for each object can be same or different. Here is an example :
class Test{
int A;
public:
Test (int i)
{ A=i;}
};
int main()
{
Test Array[10]; //Error
}