Programming MCQS - QUESTION DETAILS

How do you declare a constant integer in C?
A. int constant = 5;
B. constant int = 5;
C. const int constant = 5;
D. int constant(5);

'const' is used to declare a constant in C.

Similar Questions

What is the default value of a boolean variable in Java?






What is the purpose of the 'strcmp' function in C?






Which keyword is used to declare a constant in Java?






What is the role of the 'super' keyword in Java?






What is the output of printf("%c", 65);?






What is the purpose of the 'this' keyword in Java?






What is the entry point for the execution of a Java program?






What is the purpose of the 'memcpy' function in C?






How do you define a multi-line macro in C?






What is the output of printf("%f", 10 / 3);?