From b52e424924018e7603c9b8edbd8642108850cf2b Mon Sep 17 00:00:00 2001 From: Ashwani thakur <42508662+ashwanitr001@users.noreply.github.com> Date: Tue, 23 Oct 2018 23:31:22 +0530 Subject: [PATCH 1/2] Updated enum doc. --- docs/c-language/enum-type.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/c-language/enum-type.md b/docs/c-language/enum-type.md index dd4aeb1658e..f5eb0898ee5 100644 --- a/docs/c-language/enum-type.md +++ b/docs/c-language/enum-type.md @@ -15,7 +15,8 @@ ms.workload: ["cplusplus"] **ANSI 3.5.2.2** The integer type chosen to represent the values of an enumeration type A variable declared as `enum` is an `int`. +Enumeration (or enum) is a user defined data type in C. It is mainly used to assign names to integral constants, the names make a program easy to read and maintain. ## See Also -[Structures, Unions, Enumerations, and Bit Fields](../c-language/structures-unions-enumerations-and-bit-fields.md) \ No newline at end of file +[Structures, Unions, Enumerations, and Bit Fields](../c-language/structures-unions-enumerations-and-bit-fields.md) From 2f27c8d66777087576aa47d2d252aed7e25a3ab0 Mon Sep 17 00:00:00 2001 From: Mike B Date: Tue, 23 Oct 2018 15:13:24 -0700 Subject: [PATCH 2/2] Update enum-type.md --- docs/c-language/enum-type.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/c-language/enum-type.md b/docs/c-language/enum-type.md index f5eb0898ee5..d06496cdd95 100644 --- a/docs/c-language/enum-type.md +++ b/docs/c-language/enum-type.md @@ -15,7 +15,7 @@ ms.workload: ["cplusplus"] **ANSI 3.5.2.2** The integer type chosen to represent the values of an enumeration type A variable declared as `enum` is an `int`. -Enumeration (or enum) is a user defined data type in C. It is mainly used to assign names to integral constants, the names make a program easy to read and maintain. +Enumeration (or enum) is a user defined data type in C. It is mainly used to assign names to integral constants; the names make a program easy to read and maintain. ## See Also