2 votes 2 votes 4. Which of the following is not a valid variable name declaration and why? a) float PI = 3.14; b) double PI = 3.14; c) int PI = 3.14; d) #define PI 3.14 Programming in C programming-in-c + – anonymous asked Apr 16, 2017 anonymous 3.3k views answer comment Share Follow See 1 comment See all 1 1 comment reply Arunav Khare commented Apr 16, 2017 reply Follow Share D) because it is a macro, which is called preprocessor directive. 1 votes 1 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes d) #define PI 3.14 It is a macro preprocessor, it is textual substitution. So we cant say it as a Variable Declaration. Raushank2 answered Apr 16, 2017 • selected Apr 16, 2017 by srestha Raushank2 comment Share Follow See 1 comment See all 1 1 comment reply srestha commented Apr 16, 2017 reply Follow Share But it will work fine.right? means no error will be there if we run like this. 0 votes 0 votes Please log in or register to add a comment.