Answer:
An error will be occurred here. In C++ a function must be like
returntype function_name(){
}
but the functions in given class does not have returntype given. So there will be a syntax error.
If the returntype is defined then the code does not show any output since nothing is printed in the main function.
Answer: 33
7 times 4 is 28 add the left over 5 makes 33 people
Answer:
var birthday = "12/2/1978";
Explanation:
It does not create a date object named birthday because in this statement the birthday is a string which contains 12/2/1978 a date it is not date object it is a string.All other three options are correct way to create a date object.
var birthday = new Date();
creates a date object with the current date and time.
we can also pass date string in the new Date().So var birthday = new Date("12/2/1978"); is also correct.
we can also pass year,month,day in new Date() In this order only.So option fourth is also correct.
Answer:
Iterator is the element that used for transversing of any container by the user. This provides the facility to user to process any constituent belonging to the container and storage of these elements can be in any form.
This situation takes place under the isolation condition of the user from the container's internal model. Abstract data types use iterators for the maintenance of the transversal of the data structure.
Answer: James is all of the above
Explanation: