Question
Which arithmetic operations can be applied to pointers?
Solutions
VerifiedSolution A
Solution B
Answered 1 year ago
Step 1
1 of 5Arithmetic operations that can be applied to pointers:
- Increment of a Pointer
- Decrement of a Pointer
- Addition
- Subtraction
Answered 1 year ago
Step 1
1 of 2The ++ and – operators may be used to increment or decrement a pointer variable. An integer may be added to or subtracted from a pointer variable. This may be performed with the + and - operators, or the += and -= operators. Also pointer may be subtracted from another pointer.
Create a free account to view solutions
By signing up, you accept Quizlet's Terms of Service and Privacy Policy
Create a free account to view solutions
By signing up, you accept Quizlet's Terms of Service and Privacy Policy
Recommended textbook solutions

Starting Out with C++: Early Objects
8th Edition•ISBN: 9780133360929Godfrey Muganda, Judy Walters, Tony Gaddis844 solutions

Fundamentals of Database Systems
7th Edition•ISBN: 9780133970777Ramez Elmasri, Shamkant B. Navathe961 solutions

Introduction to Algorithms
3rd Edition•ISBN: 9780262033848Charles E. Leiserson, Clifford Stein, Ronald L. Rivest, Thomas H. Cormen872 solutions

Introduction to Algorithms
4th Edition•ISBN: 9780262046305Charles E. Leiserson, Clifford Stein, Ronald L. Rivest, Thomas H. Cormen945 solutions
More related questions
- computer science
- computer science
- computer science
- computer science
- computer science
1/4
- computer science
- computer science
- computer science
- computer science
- computer science
1/7