Using C++ Namespace Demonstrations

# Introduction In this lab, you need to create a C++ program that uses a namespace to define a function `add_numbers()` which adds two given numbers along with a constant value, and then define another function `add_numbers()` outside the namespace to add two numbers without any additional value, and finally, in the `main()` function, take integer inputs for `num1` and `num2`, and print the return values of both `add_numbers()` functions.

|60 : 00

Click the virtual machine below to start practicing