MCQ Answer

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

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

निम्नलिखित में से कौन सा वैध variable नाम घोषणा नहीं है?
Topic : Macro

A. float PI = 3.14;

B. double PI = 3.14;

C. int PI = 3.14;

D. #define PI 3.14




Correct Answer is :

D. #define PI 3.14



Explanation
#define PI 3.14 is a macro preprocessor, it is a textual substitution.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad