how to use enum datatype?Please explain me?

Answer Posted / gsrinivas

enum data type usally user defined.
for ex:
enum{sunday,monday,tuesday};
enum x;








Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between c and python?

586


Is main an identifier in c?

601


What is string function c?

568


What is meant by keywords in c?

618


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

635






What is meant by inheritance?

634


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

644


Are pointers really faster than arrays?

562


differentiate built-in functions and user – defined functions.

628


What is the role of this pointer?

549


How to find a missed value, if you want to store 100 values in a 99 sized array?

816


How do I convert a string to all upper or lower case?

629


What is main function in c?

551


Is c still relevant?

639


what are the 10 different models of writing an addition program in C language?

1439