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

write a proram to reverse the string using switch case?

2669


How can you be sure that a program follows the ANSI C standard?

1362


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

2074


How do I create a directory? How do I remove a directory (and its contents)?

831


What is function what are the types of function?

731


How can I invoke another program or command and trap its output?

842


What is else if ladder?

788


Where can I get an ansi-compatible lint?

870


Explain the use of fflush() function?

823


What does c mean in basketball?

741


Explain the Difference between the New and Malloc keyword.

864


What is the purpose of scanf() and printf() functions?

899


what is the diffrenet bettwen HTTP and internet protocol

1576


Do character constants represent numerical values?

1059


Explain how do you declare an array that will hold more than 64kb of data?

1148