Q:

Which is the correct syntax for using default arguments with the constructor?

0

Which is the correct syntax for using default arguments with the constructor?


  1. default constructorName(default int x=0)
  2. constructorName(default int x=0)
  3. constructorName(int x=0)
  4. constructorName()

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).constructorName(int x=0)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now