Important MCQ

using namespace std; lets us write

Q.using namespace std; lets us write

A) cout instead of std::cout
B) int instead of float
C) main instead of Main
D) nothing at all
Correct Answer:
Option A
Detailed Explanation:
A) cout instead of std::cout is correct. Header files provide declarations needed by library features. For example, iostream provides cin/cout, iomanip provides setw/setprecision, cmath provides math functions, and string provides the string class.