using namespace std
Title
Question
Mam, I am not able to understand the usage of namespace std.
C-and-Cpp First-Cpp-Program 03-04 min 10-20 sec
Answers:
Namespace provides scope to the identifiers declared inside it. They are used to organize code in to logical groups.
#include<iostream> using namespace std; int main () { court<<"Name:Sneha"<<endl; court<<"City: Bengaluru"<<endl; return 0; } OUTPUT: Name:Sneha City: Bengaluru

Login to add comment