UrbanPro

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is Enum

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Sr. Software Engineer

An enumeration is a set of named integer constants. An enumerated type is declared using the enum keyword. C# enumerations are value data type. In other words, enumeration contains its own values and cannot inherit or cannot pass inheritance.
Comments

12 years of work experience with 5 years of Pedagogical(teaching) experience)

Enum is a named integer constant called enumerators. For more information, please contact me
Comments

Software Developer, Expertise in Java/J2ee Technology.

Enum is a collection of fixed no: of similar type of constants. Ex :1.) enum Direction{ LEFT, RIGHT, UP, DOWN } 2.) enum Days{ MON, TUE, WED, THU, FRI, SAT, SUN} Enum Direction is having 4 (fixed) directions, all comes in one category ie direction. Enum Days is having 7 (fixed) days, all...
read more
Enum is a collection of fixed no: of similar type of constants. Ex :1.) enum Direction{ LEFT, RIGHT, UP, DOWN } 2.) enum Days{ MON, TUE, WED, THU, FRI, SAT, SUN} Enum Direction is having 4 (fixed) directions, all comes in one category ie direction. Enum Days is having 7 (fixed) days, all comes in one category ie days. read less
Comments

Enumerated Types allow us to create our own symbolic names for a list of related ideas .. in short .. we can create user defined data type by using "enum" keyword (short form of Enumerated )
Comments

An alternative method for naming integer constants.for ex enum {START,PAUSE,GOO}; Define three integer constants,called enumerators,and assigns values to them ,default value starts from 0. const int START =0; const int PAUSE =1; AND SO ON...
Comments

Python Trainer

In Python An enum/ enumeration is a set of symbolic names (members) bound to unique, constant values. Within an enumeration, the members can be compared by identity, and the enumeration itself can be iterated over.
Comments

Senior Engineer

An enumeration is a user-defined type whose value is restricted to one of several explicitly named constants(enumerators). Enumeration are defined using keyword: enum. you can refer this code for further explainantion, you can compile or debug to understand further you can contact me int main() ...
read more
An enumeration is a user-defined type whose value is restricted to one of several explicitly named constants(enumerators). Enumeration are defined using keyword: enum. you can refer this code for further explainantion, you can compile or debug to understand further you can contact me int main() { enum Fruits{orange, guava, apple}; Fruits myFruit; int i; cout << "Please enter the fruit of your choice(0 to 2)::"; cin>> i; switch(i) { case orange: cout << "Your fruit is orange"; break; case guava: cout << "Your fruit is guava"; break; case apple: cout << "Your fruit is apple"; break; } return 0; } read less
Comments

MCA

Enum is a keyword in c, c++ is known as enumerate
Comments

Enumerated datatype
Comments

Set of named constants
Comments

View 14 more Answers

Related Questions

Are C Programmers currently in demand?
Ofcourse, C is alwasy in demand. In the beginning a lot of the big project developed in C language. Now a days, there are a lot of language in market and speciallity is growing in IT field. For a big organization...
Harsha
What is polymorphism in C++?
https://vz-3ad30922-ba4.b-cdn.net/22b3f0e4-e072-48b7-9ae6-3d65a6b4ad50/play_480p.mp4
Renu
0 0
5
how to use dos.h
First include dos.h header file then use their function. Before use function, you must have knowledge of dos functions and their charactistics
Aman
What are the toughest topics in C language?
1. pointer 2. dynamic memory allocation 3. File handling
Lokayya
0 0
5
what is method over-riding and how it is used ? if possible send with code with output or screen photo ?
Method over-riding : it is a technique in which more then one function with same name and same signature( similar type parameter) can present in program. in overriding a subclass method overrides the definition...
Sayyad
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Understanding Computer Science Concepts with Images and Videos..
All Computer science concepts relating to programming and software development are only virtual. It cannot be practically shown as a hardware parts of a computer. But for better understanding it should...

File Handling in C++ : Lesson 1 Data Persistence
Data persistence refers to the existence of data in the program. In other words, it means the life of data. Data is the most significant part of a program and it must be stored properly and easily retrieved...
J

C Programming Language Basics - Easy way to learn
Computer - OverviewTodays world is an information-rich world and it has become a necessity for everyone to know about computers. A computer is an electronic data processing device, which accepts and stores...

PRACTISE makes you PERFECT ; ; ; There is no SUBSTITUTE for HARD WORK ;;;;Breathe SUCCESS like OXYGEN
Proper Planning ( reg what portions to be covered today) revising today's class portions & clarifying doubts solving Maths problems regularly ,noting down formulae separately trying to understand...

Tress And Its Traversal
Depth First Traversals:(a) Inorder (Left, Root, Right) : 4 2 5 1 3(b) Preorder (Root, Left, Right) : 1 2 4 5 3(c) Postorder (Left, Right, Root) : 4 5 2 3 1 Trees are one of the data structures like...

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more