How can we use cin & cout outside the main function??
Cin & cout use globally
@Shivam01 you can use outside in another function but cant use globally an also whats the point of using it globally… so i hope your doubt is cleared if yes dont forget to mark it as resolved and hit like
why I cant use cin & cout globally?? Explain in detail
okky vatsal thank you