Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
2いいね 14 views回再生

Assignment and Conditional Operators//CPP Full Course// lecture 7//#programming #c

The Conditional operator is supported in many programming languages. This term usually refers to?: as in C, C++, C#, and JavaScript. However, in Java, this term can also refer to && and Operators are the foundation of any programming language. We can define operators as symbols that help us to perform specific mathematical and logical computations on operands. In other words, we can say that an operator operates the operands. For example, ‘+’ is an operator used for addition, as shown below:

c = a + b;
Here, ‘+’ is the operator known as the addition operator and ‘a’ and ‘b’ are operands. The addition operator tells the compiler to add both of the operands ‘a’ and ‘b’.


The functionality of the C programming language is incomplete without the use of operators.

C has many built-in operators and can be classified into 6 types:

Arithmetic Operators
Relational Operators
Logical Operators
Bitwise Operators
Assignment Operators
Other Operators
Operators in C


The above operators have been discussed in detail
5. Assignment Operators:
Assignment operators are used to assign value to a variable. The left side operand of the assignment operator is a variable and the right side operand of the assignment operator is a value. The value on the right side must be of the same data type as the variable on the left side otherwise the compiler will raise an error.

Different types of assignment operators are shown below:
✨✨Subscribe our channel ✨✨👇👇👇
   / @coding401  

🔶 CPP full Course lecture No.1🔶
   • C++ /CPP Full Course #programing lecture #...  

🔷 CPP Full Course lecture No 2🔷
   • Variables in CPP/C++ ////Full Course of cp...  

💠 CPP Full Course lecture No 3💠
   • C++/Cpp programming language #fullcourse #...  

🔶 CPP Full Course lecture No 4🔶   • Variables in CPP/C++ ////Full Course of cp...  

🔶 CPP Full Course lecture No 5🔶

🔶CPP Full Course lecture No 6 🔶

🔶CPP Full Course lecture No 7 🔶

コメント