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

What is meaning of C++?
C++ is an advancement of C language.It is the that language which consists the concepts of OOP or lets say OBJECT ORIENTED PROGRAMMING( OOP ).The benefits of C language as it more secure in programming,...
Moinuddin
What is Enum?
A Java Enum is a special Java type used to define collections of constants. More precisely, a Java enum type is a special kind of Java class. An enum can contain constants, methods etc. Java enums were added in Java 5.
S
Is it possible to write big safe programs in C++?
yes. C++ is generally used to write system software. For example windows operating system are writeen in C++. Most of the operating system, device driver and antivirus programs are written by using C++.
Sapna
0 0
6

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

Ask a Question

Related Lessons

Memory Layout in C++ vis-a-vis Polymorphism and Padding bits.
I know there is no need for the knowledge of memory layout for a normal day-to-day development of C++. However, when someone goes in the bit/byte level of C++, he needs to look for such discussion. To...

My first C++ program
# include using namespace std; int main() { cout<<"Welcome to C++"; return 0; } Use IDE such as CodeBlocks to run this program. To do this, open CodeBlocks, Goto File->New->Empty File. Copy...

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...

All About Programming And A Good Programmer.
Hi, This is my first lesson for you guys. Hope you enjoy reading it. In recent community questions, I found many people wanted to be good programmers, or wanted to have good hands on certain language,...

Array vs Linked List
Array Linked List Accessing element is easy. Accessing element is difficult compare to Array. Easy to use. Difficult to use. Memory is Fixed size. Memory is variable size. If...

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