#define PI 3.14
This is the correct syntax for defining a constant using the C preprocessor directive.
It replaces every instance of PI with 3.14 before compilation begins.
Get instant updates and alerts directly from our site.
Install this app on your device for quick access right from your home screen.