Consider the following C++ code: class Name{ int x,y; public: Name(int a, b=10) { x=a; }};
If an object of this class is created as Name obj1(100); then what would be the values assigned to x and y?
Reveal answer
Fill a bubble to check yourself