If the value of a=6 , b=8 Compute the values of a and b after i) b=a++ ii) b= --a iii) a=b++ Write the values of a and b after each and every step
Answers
Answered by
1
Explanation:
Operators are symbol which tells the compiler to perform certain operations on variables. For example, (*) is an operator which is used for multiplying two numbers.
There are different types of operators in C. Let's take a look at each type of them with few examples of each.
Arithmetic Operators
Relational Operators
Increment and Decrement Operators
Logical Operators
Assignment Operators
Arithmetic Operations
Arithmetic Operators are the type of operators which take numerical values (either literals or variables) as their operands and return a single numerical value.
Let's assume, 'a' is 8 and 'b' is 4.
Similar questions
Math,
1 month ago
English,
2 months ago
Biology,
2 months ago
English,
9 months ago
Social Sciences,
9 months ago