From b8c60093a6b7b9466827f6475dfad62dde8051f4 Mon Sep 17 00:00:00 2001 From: Allan Duarte Ehlert Date: Mon, 19 May 2025 09:03:39 -0300 Subject: [PATCH] Fixed grammar and punctuation (#8660) --- .../roadmaps/cpp/content/static-typing@f1djN0GxoeVPr_0cl6vMq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/cpp/content/static-typing@f1djN0GxoeVPr_0cl6vMq.md b/src/data/roadmaps/cpp/content/static-typing@f1djN0GxoeVPr_0cl6vMq.md index cad4e721f..d989eb48f 100644 --- a/src/data/roadmaps/cpp/content/static-typing@f1djN0GxoeVPr_0cl6vMq.md +++ b/src/data/roadmaps/cpp/content/static-typing@f1djN0GxoeVPr_0cl6vMq.md @@ -1,6 +1,6 @@ # Static Typing -In C++, static typing means that the data type of a variable is determined at compile time, before the program is executed. This means that a variable can only be used with data of a specific type, and the compiler ensures that the operations performed with the variable are compatible with its type. If there is a mismatch , the compiler will adjust the data type of variable to match another provided it's feasible . This process is known as `Type Conversion`. If compiler not able to achieve type conversion , `Invalid Type Conversion` error will be raised during compilation of the code . +In C++, static typing means that the data type of a variable is determined at compile time, before the program is executed. This means that a variable can only be used with data of a specific type, and the compiler ensures that the operations performed with the variable are compatible with its type. If there is a mismatch, the compiler will adjust the data type of variable to match another provided it's feasible. This process is known as `Type Conversion`. If the compiler is not able to achieve type conversion, an `Invalid Type Conversion` error will be raised during compilation of the code. C++ is a statically typed language, which means that it uses static typing to determine data types and perform type checking during compile time. This helps with ensuring type safety and can prevent certain types of errors from occurring during the execution of the program.