hello I will ask u a output
answer I know but who will do that output correctly I will give him or her 10 points
java output
int a=6;
for (I =a ;I >=--a;a--)
s.opln(a);
s.opln(if u answer correctly I will mark u as brainliest;
Answers
Answered by
0
Answer:
The perfect answer would be like the programs will go into infinite loop.
Because you have pre decremented the value of a so the condition would never be false.
Explanation:
plz give me as the brianlist plz : )
Answered by
0
Answer:
The answer is stack overflow
Explanation:
if ignoring the syntax errors you made the value of int l will always be greater than --a, as you have not put a limit on a so it will keep on subtraction 1 from a and after a certain point the program will have a runtime error i.e. Stack overflow.
Similar questions