51. Namespaces

Question.1

Two driver modules both define an init() function:

namespace UART { void init() { /* UART setup */ } }
namespace SPI  { void init() { /* SPI setup  */ } }

UART::init();
SPI::init();

Will this compile?

Need Help? Refer to the Quick Guide below

Select Answer