Solved

After the Code Shown Executes, Which of the Following Statements

Question 46

Multiple Choice

After the code shown executes, which of the following statements is true?
Int numbers[] = {0, 1, 2, 3, 4};
Int *ptr = numbers;
Ptr++;


A) ptr will hold the address of numbers[0]
B) ptr will hold the address of the second byte within the element numbers[0]
C) ptr will hold the address of numbers[1]
D) this code will not compile

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents