Sail E0 Webinar
Question
Which of the following is not a valid variable name declaration?
Options:
A .  float PI = 3.14;
B .  double PI = 3.14;
C .  int PI = 3.14;
D .  #define PI 3.14
Answer: Option D


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



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers