You are viewing a single comment's thread. Return to all comments →
why std:: comes in the above program
It means the standard input (std::cin) from input and standard output (std::cout) in the program
but in program already have using name space std;
than why it is necessary to write std::
That's exactly what I was thinking. using namespace std; means you don't put std:: before cin or cout.
ok thanks for helping me