variable initialization

I've a doubt regarding the following syntex.


int x(10);

what the above line actually do..
does it just assign the value to x or anything else happens internally...like constructor involvement (because primitive types also have constructors)....

Thanks in advance....
Does the same as int x=10;
The above is not an assignment either, it also invokes a constructor.
Topic archived. No new replies allowed.