Answer:
Option d (neither a or b is true) is the correct answer for the above question.
Explanation:
Missing information : The options and the main question (which is true from the following) is not mentioned in the above question.
There is a two program given in the above question and asked to justify the true statement. The options descriptions are as follows:-
- Option a states that the value of a counter variable will not be the same for both the program, which is not correct because both program loop will be executed 10 times only and the value of the counter will also be 10.
- Option b states that the value of j will not be different for both the program which is also not correct because the first program loop will process from 10 to 1 by the difference of 1 but the second for loop will execute for i value from 0 to 90 by the difference of 10.
- Option c states to right for both the option which is not correct.
- Option d states to wrong for both the correct option. Hence option d is the correct answer.