ABSTRACT

This chapter discusses concepts in practically every programming language and how Rust operates. In Rust, variables are linked with a specific data type. The data type dictates the variable's memory size and layout, the range of values stored inside that memory, and the set of operations on the variable. The Type System represents the language's many different types of values. The Type System checks the provided values before the software stores or manipulates them. This ensures that the code functions correctly. Relational operators are used to test or specify the type of relationship that exists between two items. When comparing two or more values, relational operators are utilized. Relational operators yield either true or false as a Boolean value. Variables in a program are assigned memory in a random sequence, making it impossible to retrieve/read the values in the order they were declared. A collection of values that are all the same is referred to as an array.