From e691acfc592430297426f8e289b4332025497805 Mon Sep 17 00:00:00 2001 From: upasanapandey <33151233+upasanapandey@users.noreply.github.com> Date: Fri, 27 Oct 2017 20:02:35 +0530 Subject: [PATCH] Update enum.cpp --- enum.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enum.cpp b/enum.cpp index 1670337..c38a725 100644 --- a/enum.cpp +++ b/enum.cpp @@ -1,7 +1,7 @@ #include #include using namespace std; - +//enumeration is a userdefined datatype used to create integral constant. enum Company{ Google = 1, Facebook, Twitter, Snapdeal, Microsoft //Google is initialized with value 1. First value, unless stated, takes value as 0. }; @@ -35,4 +35,4 @@ int main(int argc, char const *argv[]){ } return 0; -} \ No newline at end of file +}