how to reassign value to an object using constructor in c++
<p>I came through a pretty interesting question... what can be the class declaration for the following segment of code in c++..</p>

<pre><code>int main(){    
    Point f(3,4);        //class Point    
    f(4);    
}
</code></pre>

<p>the object declaration can be done by declaring a constructor f(int, int). But how can we use a constructor declaration to assign values to an object?? Even if define another constructor f(int), this will not work... as constructors are called only during object declaration. Please suggest a way to do this....</p>
