1.

float area(const float pi=3.1415, const float r){r=10;return pi*r;}Is there any problem? If yes what is it?

Answer»

There is an error. The error is , Y is a constant T must be initialised and cannot be changed during execution.



Discussion

No Comment Found