You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f := math.Sqrt(float64(c)) // This works as against a const
// const e = math.Sqrt(float64(c)) // This won't work.
/*The value of a constant should be known at compile time. Hence it cannot be assigned to a value returned by a function call since the function call takes place at run time.*/