Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
A namespace is a declarative region that provides a scope to the identifiers (names of the types, function, variables etc) inside it. Multiple namespace blocks with the same name are allowed. All declarations within those blocks are declared in the named scope. you can use std ::cout and std ::cin to avoid the namespace
28th May 2018, 2:51 PM
MsJ
MsJ - avatar