Your task is to declare two separate namespaces to organize configuration variables for different communication peripherals.
baudRate initialized to 115200clockSpeed initialized to 1000000The variables must be accessed using explicit namespace qualification.
Example Output:
UART Baud: 115200 SPI Clock: 1000000 Why this output?
Because variables from each namespace are accessed explicitly using UART::baudRate and SPI::clockSpeed.
Question Significance
This problem demonstrates how multiple namespaces help organize code and prevent naming collisions, which is especially important in embedded and firmware projects with multiple peripherals.
Expected Output
UART Baud: 115200 SPI Clock: 1000000