Home » C++ Programming » Constants/Literals » Question
  1. What is the output of this program?
    #include 
    using namespace std;
    #define PI 3.14159
    int main ()
    {
    float radious = 10;
    float Circle;
    Circle = 2 * PI * radious;
    cout << Circle;
    return 0;
    }
    1. 10
    2. 2
    3. Compilation Error
    4. Runtime Error
    5. 62.8318
Correct Option: E

In this program, we are finding the area of the circle by using concern formula.



Your comments will be displayed only after manual approval.