coderz.py

Keep Coding Keep Cheering!

C++ sizeof() and typedef Operator

sizeof(): The sizeof keyword is a compile-time unary operator that determines the size of a variable or data type in bytes. sizeof() operator is used in different way according to the operand type, i.e, When operand is a Data Type. When operand is an expression.  Syntax: Example: Output: Typedef: The typedef keyword allows programmers to create new […]

September 25, 2022 | C++ | No comments

Operators in C++

An operator is a symbol that instructs the compiler to perform particular mathematical or logical operations. C++ has a wide range of built-in operators, including the following: Types of operators: Arithmetic Operators Relational Operators Logical Operators Bitwise Operators Assignment Operator Unary operator Ternary or Conditional Operator Misc Operator Arithmetic Operators: These operators are used on […]

September 24, 2022 | C++ | No comments

Advertisement