Correct Answer : To destroy an object when the lifetime of an object ends
Explanation : Destructors are used in Classes to destroy an object after its lifetime is over i.e. to free resources occupied by that object.
Correct Answer : All of the above
Explanation : Any of the above signature can be used while using command line arguments in C++ programs
Correct Answer : argv[0]
Explanation : The first string in the list of command line arguments represents the name of the program which can be accessed by using argv[0].
Correct Answer : Number of command line arguments
Explanation : The first argument of the main() function represents the number of command line arguments that are passed.