How do the expression *p +1 and *(p+1) differ?
Answers
Answered by
1
Answer:
Explanation:
In C programming language, *p represents the value stored in a pointer. ++ is increment operator used in prefix and postfix expressions. * is dereference operator. Precedence of prefix ++ and * is same and both are right to left associative.
Similar questions
English,
3 months ago
Computer Science,
3 months ago
English,
3 months ago
Science,
7 months ago
Social Sciences,
7 months ago
Science,
1 year ago