C++_Concepts_Full_Format
C++_Concepts_Full_Format
C++ Tokens
Types of tokens:
1. Keywords
2. Identifiers
3. Literals
4. Operators
5. Punctuators
6. Comments
Reference Variables
Example:
int a = 5;
int &ref = a;
return x * x;
Types of Variables:
1. Local
2. Global
3. Static
4. Constant
5. Reference
Operations:
- Arithmetic: + - * / %
- Logical: && || !
- Assignment: = += -= etc.
Example:
int x = 10;
int main() {
int x = 20;