MCQ Single Best Answer Not Set

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

ID: #1134 Variable in C Language 7,270 views
Question Info
#1134Q ID
Not SetDifficulty
Variable in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A #define PI 3.14
  • B float PI = 3.14;
  • C double PI = 3.14;
  • D int PI = 3.14;
Correct Answer: Option A

Explanation

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

Share This Question

Challenge a friend or share with your study group.