Computer Science, asked by shubhavatsalasingh, 1 year ago

int a=5; System.out.println("++a="+ ++a);
give output

Answers

Answered by pornimv
1
The answer is ++a= 6
Attachments:

shubhavatsalasingh: I don't think so
shubhavatsalasingh: it must be ++a=++a
pornimv: wait
shubhavatsalasingh: please check and ans
pornimv: pls mark as brainliest
rajnishyadav59pacy2h: no..
pornimv: fr what
pornimv: i only answerd this first
rajnishyadav59pacy2h: the answer is correct
Answered by rajnishyadav59pacy2h
1
The output will be: ++a= 6

shubhavatsalasingh: are u sure
pornimv: yea im sure
Similar questions