Vidyalelo
C++ Programming · Q79

Pointers and References in C++

Programming · C++ Programming · question 79

Q79

What will be the output of the following C++ code? #include using namespace std; #define PI 3.14159 int main () float r = 2; float circle; circle = 2 * PI * r; cout << circle; return 0;

A.
12.5664
Answer
B.
13.5664
C.
10
D.
15

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board