У нас вы можете посмотреть бесплатно Operators in C Language in Hindi/Urdu | Assignment & Arithmetic Operators | 10th Computer Chapter 2 или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
2.2 Operators The name computer suggests that computation is the most important aspect of computers. We need to perform computations on data through programming. We have a lot of mathematical functions to perform calculations on data. We can also perform mathematical operations in our programs. C language offers numerous operators to manipulate and process data. Following is the list of some basic operator types: • Assignment operator • Arithmetic operators • Logical operators • Relational operators 2.2.1 Assignment Operator Assignment operator is used to assign a value to a variable, or assign a value of variable to another variable. Equal sign (=) is used as assignment operator in C. Consider the following example: int sum = 5; Value 5 is assigned to a variable named sum after executing this line of code. Let's have a look at another example: int sum = 6; int var = sum; First, value 6 is assigned to variable sum. In the next line, the value of sum is assigned to variable var. 2.2.2 Arithmetic Operators Arithmetic operators are used to perform arithmetic operations on data. • Division Division operator (/) divides the value of left operand by the value of right operand, e.g. look at the following statement. float result = 3.0 / 2.0; After this statement, the variable result contains the value 1.5. Important Note If both the operands are of type int, then result of division is also of type int. Remainder is truncated to give the integer answer. Consider the following Line of code: float result = 3/2; As both values are of type int so answer is also an integer which is 1. When this value 1 is assigned to the variable result of type float, then this 1 is converted to float, so value 1.0 is stored in variable result. If we want to get the precise answer then one of the operands must be of floating type. Consider the following line of code: float result = 3.0/2; In the above example, the value stored in variable result is 1.5. Multiplication Multiplication operator (*) is a binary operator which performs the product of two numbers. Look at the following statement: int multiply = 5*5; After the execution of statement, the variable multiply contains value 25. Addition Addition operator (+) calculates the sum of two operands. Let's look at the following statement: int add = 10 + 10; Resultant value in variable add is 20. Subtraction Subtraction operator (-) subtracts right operand from the left operand. Let’s look at the following statement: int result = 20 - 15; After performing subtraction, value 5 is assigned to the variable result. Modulus operator Modulus operator (%) performs division of left operand by the right operand and returns the remainder value after division. Modulus operator works on integerdatatypes. int remaining = 14 % 3; As, when we divide 14 by 3, we get a remainder of 2, so the value stored in variable remaining is 2. Timestamp 00:00 Intro 01:40 Operators 01:59 Assignment Operator 04:34 Arithmetic Operators 10:25 Example Social Media Links: _____/❤ All Students are requested to Follow Me on Social Media!! ❤\_______ Instagram:➜ / digitaleduc. . Twitter:➜ / shahbaz_ali101 Facebook Page:➜ / digitaleduca. . Whatsapp:➜ https://chat.whatsapp.com/GqLGyGuZyNp... Youtube:➜ https://bit.ly/32hA7C4?sub_confirmati... 10th Class Computer Science: How to install and Download Code::Blocks: https://bit.ly/3HuCBzO 10th Computer Science All Lectures Playlist: https://bit.ly/3eYGMbb 10th Computer Science All Exercise Playlist: https://bit.ly/3pMcoqu 10th Computer Science All Example Code Playlist: https://bit.ly/3pKxxkK 10th Computer Science All Programming Time: https://bit.ly/3eOmTmJ 10th Computer Science All Activities Playlist: https://bit.ly/3eFQOh1 10th Computer Science All Programming Exercise Playlist: https://bit.ly/3zltiQ6 9th Class Computer Science: 9th Computer Science Chapter 1: https://bit.ly/3SCa6pR 9th Computer Science Chapter 2: https://bit.ly/3SBi2I4 9th Computer Science Chapter 3: https://bit.ly/3EfbEBT 9th Computer Science Chapter 4: https://bit.ly/3EjLduP 9th Computer Science Chapter 5: https://bit.ly/3SU0O8x 9th Computer Science All Exercise: https://bit.ly/3EgNnvh 9th Computer Science All Activates: https://bit.ly/3rrYppN 9th Computer Science Complete Lectures: https://bit.ly/3t2BBhr #WhatisOperatoranditstypesinC? #AssignmentoperatorinC #ArithmeticOperatorsinC #WhatisOperatorinClanguage? #OperatorsinC #TutorialOperatorsinc #CodinginC #TypesofOperatorsinc #CoperatorHindi #CalloperatorsHindi #DigitalEducation #10thComputerChapter1 #10thComputerChapter2 #10thComputerChapter3 #10thComputerChapter4 #10thComputerChapter5 #10thComputer Computer Science 10th class Lecturer of Computer Science By Sir Shahbaz Ali For any query or private tutoring contact (0309-0334424) [email protected]