CONTROL FLOW STRUCTURES order in which instructions are executed. Categorized into three main types: 1. 1. Sequential 2. 2. Conditional à a. Decision making( selection ) b. Looping ( iteration) 3. 3. Un-conditional ( Jump) ) à a. Goto b. Break c. Continue 1. Sequential Control Flow defa…
Read moreTYPE CONVERSION converting a value from one data type to another. It can be done either implicitly (automatically by the compiler) or explicitly (manually by the programmer). 1. Implicit Type Conversion (Type Promotion) This is done automatically by the compiler when converting a smaller data type to a larger data type or when compatible ty…
Read moreEnumeration Data Types Introduction Enumeration (enum) is a user-defined data type in C++. create a set of named integral constants under a single type name. Improves readability and maintainability by replacing numeric codes with meaningful names. Syntax enum enum_name { value1, value2, value3, ... }; enu…
Read more
Social Plugin