Programming MCQS - QUESTION DETAILS

What is the purpose of the 'enum' keyword in C?
A. Declare a structure
B. Declare an enumeration
C. Declare a function
D. Declare a variable

'enum' is used to declare an enumeration in C.

Similar Questions

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






Which operator is used to access the value pointed to by a pointer in C?






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






How do you declare a pointer in C?






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






How do you open a file for writing in C?






Which keyword is used to declare a constant in Java?






How do you declare a constant pointer in C?






What is Java?






How do you declare a global variable in C?