0
Suppose i decleare int a; and int b=10;
and i reassign the value of a= 5; and b=7; now i use the variables in a programme. so what must be the value o a and b. i got confuse here cause b has two values
1 Answer
+ 2
Last assigned value will be value of variable.
So in your case value of a is 5 and b is 7