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