yes answer is none of above answer should be
15,20,15,15....
solution:
print 1 initialize an static variable x=10;...now we add 5 ...x=15 ...PRINTED= 15 ...
next print 1 .....x=15(static are declared once ) now we add 5 hence x=20..PRINTED=20;
next print 2 x=20 but we overwrite it by 10 and add 5 hence x=15..PRINTED =15....
next print 2 x=15 but again written by 10 and we add 5 hence x=15 PRINTED=15....
output expected=15,20,15,15