After I execute the code, The garbage value in also printed in the output. How do I correct this?
I tried placing %d at different places, But nothing happened. I’ve been told that placing %d at right place will correct this But I still I’m seeing value’s like 9914567 like this in every single line in the execution.
New contributor
Tanishka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.