Select from following answers:- 10 20 20
- 10 10 10
- 20 20 20
- 20 20 10
- All Above
The static variable is intialized with value 10 and is accessed from the Main method so the first o/p will be 10 . Again the variable is assigned with value 20. So now the second and the third o/p will be 20 and 20.
Correct o/p: 10 20 20
Show Correct Answer
Source: Interview | Asked In: Many Interviews |
Alert Moderator