Computer Science, asked by madhavanchidambaramp, 1 year ago

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

Answers

Answered by piyushatre29
1

hey dude your answer is




here




C const int var=10;

Answered by Sidyandex
2

The option c is the suitable answer to this above question.  

It is because const int var=10 is the right way to declare constant in C.

When it comes to const, it is not a variable.

Instead, it is known as a constant.

Most significantly, you do not assign or alter to a value.  

Instead, you can just use what was actually defined.

Similar questions