Which is the correct syntax for using default arguments with the constructor?
(a) default constructorName(default int x=0)
(b) constructorName(default int x=0)
(c) constructorName(int x=0)
(d) constructorName()
This question was posed to me in unit test.
I want to ask this question from Constructors Overloading in portion Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming