- A pi = 3.14F;
- B const float pi = 3.14F;
- C const pi; pi = 3.14F;
- D float pi = 3.14F;
- Share this MCQ
Answer:
B
Share this MCQ
pi = 3.14F; It doesn't declare the data type.
const float pi = 3.14F; is the correct Answer. It declare constant datatype.
const pi; pi = 3.14F; Here data type doesn't declare.
float pi = 3.14F; pi is a floating-point variable but not a constant.
Click me to Read more Question & Answer of Data Types in C LanguageShare this MCQ