Answer:
The answer is "None of these".
Explanation:
In the given question an array "sales[]" is declared, which contains 50 double type elements, and in the next line, an integer variable j is defined, which uses a for loop. In this question two options is given, in which both are not correct, that can be described as follows:
- In option (i), A loop is defined that, uses variable j which starts with 0 and ends with 48, So total elements are 48 that's why it is not correct.
- In option (ii), A loop will use variable j that, starts with 1 and ends with 49, That's why it is not correct.
Answer:
Both C++ and Pascal uses objects.
Answer: Console-Based
Explanation:
A console based application is an application that helps in facilitating the reading and the writing of the characters from a console.
It is vital in the provision of a simple user interface for the applications that requires little interaction. Since the application accepts input and displays a response to the user and cannot create a graphical interface for this application, then it's a console based application.