Computer Science, asked by niveditha88, 4 months ago

How does the expressions *p+1 and *(p+1) differ​

Answers

Answered by Anonymous
2

When there is no bracket, p + 1 will remain p + 1 and operation will be carried independently

When there are brackets, (p + 1) might change its 'sign' (minus or plus) according to what it is being multiplied with and will work together.

Example :-

p + 1 × 2 = p + 2

(p + 1) × 2 = 2p + 2

Similar questions