Which is the right way to declare constant in C?
A. int constant var =10;
B. int const var = 10;
C. const int var = 10;
D. B & C Both
Answer:D
Which is the right way to declare constant in C?
A. int constant var =10; B. int const var = 10; C. const int var = 10; D. B & C Both