Programming MCQS - QUESTION DETAILS

In C, how do you declare a constant?
A. const
B. constant
C. Const
D. #define

'const' is used to declare constants in C.

Similar Questions

What is the purpose of the 'break' statement in a loop in Java?






How do you create a thread in Java?






What is the output of System.out.println("Hello" + 1 + 2);?






Which Java keyword is used to implement multiple interfaces in a class?






What is the purpose of the 'try-catch' block in Java?






Which keyword is used to prevent method overriding in Java?






What is the output of System.out.println(Math.floor(7.8));?






How do you declare an array in Java?






What is the purpose of the 'finally' block in Java?






What is the purpose of the 'instanceof' operator in Java?