Alvin wants to store the value of π From the following which is correct declaration
A. char pi = 3.14157
B. const int pi = 3.14157
C. const float pi = 3.14157
D. long pi = 3.14157
Answer:C
Alvin wants to store the value of π From the following which is correct declaration
A. char pi = 3.14157 B. const int pi = 3.14157 C. const float pi = 3.14157 D. long pi = 3.14157