Can anyone tell me that why the answer is 98 ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone tell me that why the answer is 98 ?

I have read that unions can store only one variable at a time and forgets as soon as the other one is declared. Here in the code only variable first and third[0] are declared, but second is not declared. And on printing the value of second it gives the value 98. Why??? Please! Check out the code once. https://code.sololearn.com/ckK6OfQzEwHX/?ref=app

8th May 2019, 3:47 PM
Vikash Kumar
Vikash Kumar - avatar
0 Answers