Question: Assuming int year = 2021; int * p_year = &year; Which of the below statements will assign the value of 2023 to the year variable

Assuming int year = 2021; int * p_year = &year; Which of the below statements will assign the value of 2023 to the year variable using pointer syntax (i.e. via p_year)? Group of answer choices A) year = 2023; B) p_year = 2023; C) & p_year = 2023; D) *p_year = 2023;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!