What happens if I include iostream or any other header file twice in my file? I know the compiler does not throw error.

Will the code gets added twice or what happens internally?

What actually happens when we include a header file ?

Edit
Report