Operator
Operator is symbol that operates on a literal or variable.It can be used to perform mathematical calculation,logical
manipulation,Comparison etc.It is used in program for manipulation of
data and variable.There are different types of operator in C
programming.
Arithmetic Operator
It is used for mathematical calculation like Addition,Multiplication,Division etc.We can Perform all these operation on either literal or variable.
1]+(Addition): This operator(+) is used to perform addition between numbers.
2]-(Subtraction): This operator(-) is used to perform subtraction between numbers.
3]*(Multiplication): This operator(*) is used to perform Multiplication between numbers .
4] /(Divison): This operator(/) is used
to perform Division between numbers.
5]%(Modulo): This operator(%) is used to find modulo or remainder of number .
Output:
1]Assignment Operator:It is same as we have done in mathematics.I don't Think So it is required to explain.If Anyone want explanation on this then comment on this post.
friends.
Very Simple But Clear Explanation 👌
ReplyDeleteThanks,Keep Supporting
Delete