Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following is not a valid variable name declaration?

a) #define PI 3.14
b) float PI = 3.14;
c) double PI = 3.14;
d) int PI = 3.14;

Answer: a
Explanation: #define PI 3.14 is a macro preprocessor, it is a textual substitution.

Join The Discussion