20 10
10
just 10
20 10 coz struct is value type so it will assign different memory for both object.but if you will change struct with class then result will be 20 20 coz class is reference type and it will not assign different memory for different objects of a class.
Wht r the correct answer priti ???i think 10 is right ans because in a main method do not create object of fun method
what is the correct answer ??
10 Only
20 Next line 10