how to use enum datatype?Please explain me?

Answer Posted / praphulla

It automatically passes values to declared varibles.
ex: enum{red,green,blue}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between volatile and const volatile?

565


What is s in c?

618


What is the meaning of && in c?

550


What do you understand by friend-functions? How are they used?

645


Explain what is wrong with this program statement?

621






Can a file other than a .h file be included with #include?

686


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

655


What is malloc calloc and realloc in c?

670


write a program to rearrange the array such way that all even elements should come first and next come odd

1761


What is signed and unsigned?

644


What is the difference between class and object in c?

583


Explain what is meant by 'bit masking'?

644


What are directives in c?

548


What is union in c?

637


Is a house a mass structure?

641