Question: Which of the following is a reason why using this line is considered a bad practice? (_Alternative_: Why is using this line considered a bad practice?)
- The compiled code is always bigger because of all of the imported symbols.
- If the code uses a function defined in two different libraries with the same prototype but possibly with different implementations, there will be a compilation error due to ambiguity.
- It automatically includes all header files in the standard library (cstdint, cstdlib, cstdio, iostream, etc).
- It causes the compiler to enforce the exclusive inclusion of header files belonging to the standard library, generating compilation error when a different header file is included.
Answer: The correct answer of the above question is Option B:If the code uses a function defined in two different libraries with the same prototype but possibly with different implementations, there will be a compilation error due to ambiguity.