Question
What is the output of this program?
#include < iostream >
using namespace std;
#define PI 3.14159
int main ()
{
float r = 2;
float circle;
circle = 2 * PI * r;
cout
Answer: Option A
Was this answer helpful ?
In this program, we are finding the area of the circle by using concern formula.
Was this answer helpful ?
More Questions on This Topic :
Question 2. How the constants are declared? ....
Question 4. The difference between x and 'x' is ....
Submit Solution