30 likes | 55 Views
FOR MORE CLASSES VISIT<br>tutorialoutletdotcom <br><br>Focusing on Intermediate Programming<br><br>1. Explain the problem with the following code segments:<br><br>a. int *x;<br>*x = 5;<br><br>b. const int * x;<br>
E N D
Focusing on Intermediate • FOR MORE CLASSES VISIT • tutorialoutletdotcom • int nums[10] = {4, 5, 6, 7, 8, 9, 10, 11, 12, 13}; • int *pInt; • pInt = &nums[7]; • pInt -= 2; • *pInt = 15;