google.com, pub-7659628848972808, DIRECT, f08c47fec0942fa0 Pro Learner: pointer in c

Please click on ads

Please click on ads

Thursday 27 February 2020

pointer in c

learn operators

HELLO GUYS;

आज हम ऑपरेटर्स के बारे मैं जानेगे ;
ऑपरेटर क्या होता है ,ऑपरेटर एक वो फंक्शन है जो प्रोग्राम को ऑपरेट करता है ,
ऑपरेटर कई प्रकार के होते है बासिक्ली फाइव प्रकार के होते है ,
1.Arthmetical operator=इसका उपयोग माथेमेटिक फंक्शन को उसे करने के लिए होता है। 
जैसे =
OperatorNameDescriptionExampleTry it
+AdditionAdds together two valuesx + yTry it »
-SubtractionSubtracts one value from anotherx - yTry it »
*MultiplicationMultiplies two valuesx * yTry it »
/DivisionDivides one value from anotherx / yTry it »
%ModulusReturns the division remainderx % yTry it »
++IncrementIncreases the value of a variable by 1++xTry it »
--DecrementDecreases the value of a variable by 1--xTry it »

2 . Assignment operator =वैल्यू को असाइन  लिए उपयोग किया जाता है। 
जैसे =
OperatorExampleSame AsTry it
=x = 5x = 5Try it »
+=x += 3x = x + 3Try it »
-=x -= 3x = x - 3Try it »
*=x *= 3x = x * 3Try it »
/=x /= 3x = x / 3Try it »
%=x %= 3x = x % 3Try it »
&=x &= 3x = x & 3Try it »
|=x |= 3x = x | 3Try it »
^=x ^= 3x = x ^ 3Try it »
>>=x >>= 3x = x >> 3Try it »
<<=x <<= 3x = x << 3Try it »
3. comparasion operator =इसका उपयोग comperision करने के लिए होता है।





जिसे =
OperatorNameExampleTry it
==Equal tox == yTry it »
!=Not equalx != yTry it »
>Greater thanx > yTry it »
<Less thanx < yTry it »
>=Greater than or equal tox >= yTry it »
<=Less than or equal tox <= y

४. logical operator = Logical operators are used to determine the logic between variables or values:
OperatorNameDescriptionExampleTry it
&& Logical andReturns true if both statements are truex < 5 &&  x < 10Try it »
|| Logical orReturns true if one of the statements is truex < 5 || x < 4Try it »
!Logical notReverse the result, returns false if the result is true!(x < 5 && x < 

No comments:

Post a Comment