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 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
How to register as teacher?
On the basis of his total experience and Qualification you can do it.
Shrikrishna
How to create my profile as technology(c++ programming) teacher?
C++ is not a pure OO language by any standards. It is extremely complex and confusing to a beginner to understand it properly. If you know C, you may find the syntax easier -- but if you want to learn...
Nilesh
what is constructor ?
Constructor is a special method which invoke automatically as instance created.
Avnish
Is C#, C++, Python, or JS better for game development?
All languages good for gamjng. But you can make 3d games in c# uaing unity software and it's very very interesting to work on it.
Mohit
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

Advantages of C++ Language
Advantages of C++ - C++ is a profoundly convenient dialect and is frequently the dialect of decision for multi-gadget, multi-stage application advancement. - C++ is a protest situated programming dialect...

Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...

Importance Of Function Prototype In C
Function prototype tells compiler about number of parameters function takes, data-types of parameters and return type of function. By using this information, compiler cross checks function parameters and...

C++ Program-Factorial
//Header files #include<iostream.h>#include<conio.h> //Main function void main(){ int num,i; long factorial=1; //Function for clearing screen clrscr(); cout<< "Enter a number:";...

Do You Know Size Of Empty Class and Reason?
Size of empty class is always 1 byte. Reason is, in order to differentiate one object to another object, the size of empty class is always 1 byte. See the below c++ code snippet. Here there are three...

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