menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Starting Out with C++ Study Set 1
  4. Exam
    Exam 9: Pointers
  5. Question
    Not All Arithmetic Operations May Be Performed on Pointers
Solved

Not All Arithmetic Operations May Be Performed on Pointers

Question 1

Question 1

Multiple Choice

Not all arithmetic operations may be performed on pointers. For example, you cannot ________ or ________ a pointer.


A) multiply, divide
B) add, subtract
C) +=, -=
D) increment, decrement
E) None of these

Correct Answer:

verifed

Verified

Related Questions

Q2: Assuming ptr is a pointer variable, what

Q3: What will the following code output?<br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"

Q3: What will the following code output?<br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"

Q4: Look at the following statement: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"

Q5: Look at the following statement: <br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"

Q6: Assuming myValues is an array of int

Q7: The contents of pointer variables may be

Q10: Which statement displays the address of the

Q11: When this is placed in front of

Q19: C++ does not perform array bounds checking,

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines