I want to ask this question... Why we can't use Camera c1(20); ???
This is making class. But we find the error in Camera c1(20);
Please let me know...
#include <iostream>
class Camera{
private:
public:
Camera(){
}
Camera(int x){
}
};
class Phone{
private:
Camera c1(20);
public:
};
int main(){
}