Previously Below all topics are covered on our blog you can check for detailed information about it.

1. Syntax of c

2. Keywords

3. Datatypes

4. Identifiers

5. Variables

6. format specifier

In today's session, we are talking about operators in the c language.

### 7. Operators and Arithmetic calculation

In the C programming lang, various types of operators can be used to perform various operations on code & data. below are some commonly used operators in C language:

Please Read Othe important aspects of c : Click here.

#### 1. Arithmetic Operators:

- Addition (+)

- Subtraction (-)

- Multiplication (*)

- Division (/)

- Modulo (%)

#### 2. Assignment Operators:

- Assignment (=)

- Addition assignment (+=)

- Subtraction assignment (-=)

- Multiplication assignment (*=)

- Division assignment (/=)

- Modulo assignment (%=)

#### 3. Relational Operators:

- Equal to (==)

- Not equal to (!=)

- Greater than (>)

- Less than (<)

- Greater than or equal to (>=)

- Less than or equal to (<=)

#### 4. Logical Operators:

- Logical AND (&&)

- Logical OR (||)

- Logical NOT (!)

#### 5. Bitwise Operators:

- Bitwise AND (&)

- Bitwise OR (|)

- Bitwise XOR (^)

- Bitwise NOT (~)

- Left shift (<<)

- Right shift (>>)

#### 6. Increment and Decrement Operators:

- Increment (++)

- Decrement (--)

#### 7. Conditional Operator (Ternary Operator):

- Conditional expression? true_expression : false_expression

#### 8. Sizeof Operator:

- Returns a data type or variable's size (in bytes).

All these are the operators in the c lang for performing a specific task.

Read More: Day 2: Structure of c and Input, Output in c programming

*****************************

The task for Next Saturday for all

01/07/2023

- What is Header File?
- C is a case-sensitive programming language? True Or False?
- What is a keyword in c programming Language?
- What is a data type?
- Example of output and input functions in c programming?
- What is a compiler?
- What is the source and object file?
- What is %d and %ld?
- What is the memory size of double and short data types?
- How to find a reminder?

Read Previous articles here: https://www.fullstackweb.org/

## Post a Comment