Nguyễn Trần Mai Trang
New member
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()
A. default constructorName(default int x=0)
B. constructorName(default int x=0)
C. constructorName(int x=0)
D. constructorName()