C++ Handwritten
C++ Handwritten
DATA TYPES:-
• Data Type means signature (type )of a data.
• User Defined means User/Programmer can define of his own data Types.
• Built-in(System In-Built) means already developed by Developer.
• Derived means User can Derive from Built-in and User-define data Types.
OPERATORS:-
• Operators are the symbols that executes some operations like
Addition,Subtration,Multiplication,Logical Operation,Modolus etc.
• Eg:- int sum1 = 100 + 50; // int-DataType;sum1-variable;+:-
Arithmatic Operator
Operator Precedence:
Operator Precedence means Giving Priority to The Operators by which the
can executed.
Eg:- int a = 10 + 20 * 30 // 10+60 = 70
It Follows The BODMAS Rule of Simple Mathematics.
VARIABLE AND CONSTANT AND DECLARATION:-
• Variable:- Variable is a Named Memory Which changes/Vary its value
during execution.
• Constant:- Constant is a Named Memory Which does not Change /Vary its
value during execution.
• Declaration:-
Constant Decl.
const int i = 10; // const-Keyword(constant);int-Data Type;
Variable Decl.
int i ;
float b,c; // int,float –Data Types; I,b,c value should be vary in run time.