Have a Question ?

Home / Answered Questions / Other / question-1-given-the-next-statements-int-intvar-int-intptri-int-intptr2-long-longptr-state-as-correc-aw439

(Solved): QUESTION 1 Given The Next Statements Int IntVar; Int *intPtri; Int *intPtr2; Long *longPtr; State As...


QUESTION 1 Given the next statements int intVar; int *intPtri; int *intPtr2; long *longPtr; State as correct or incorrect the

Please help me in this questions. Using C ++ lenguage.

QUESTION 1 Given the next statements int intVar; int *intPtri; int *intPtr2; long *longPtr; State as correct or incorrect the next statements. Explain your choice in each case a intVar = intPtr2; b. intPtr2 = intPtri; c. intPtr2 = &intPtri; d intPtr1 = &intVar; e longPtr = intPtr2; f *longPtr = *intPtri; a. intVar = *intPtri; h intVar = &intPtri; i *intPtr2 = *intPtri;


We have an Answer from Expert View Expert Answer

Expert Answer


Ans: note: pointer is a memory location,which stores address of a variable or memory location of another pointer a. intVar=intPtr2; incorrect here intVar is a integer variable we can a
We have an Answer from Expert
Buy This Answer $6

-- OR --

Subscribe To View Unlimited Answers
Subscribe $20 / Month