📊 C#
Q. Correct way to define a value 6.28 in a variable ‘pi’ where value cannot be modified?
  • (A) #define pi 6.28F
  • (B) pi = 6.28F
  • (C) const float pi = 6.28F
  • (D) NA
💬 Discuss
✅ Correct Answer: (C) const float pi = 6.28F

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
230
Total Visits
📽️
4 y ago
Published
🎖️
Ravi Chauhan
Publisher
📈
95%
Success Rate