Question 1 Fain the blank The memory contents of a pointer c

Question 1 Fain the blank The memory contents of a pointer contains an Question 2 After execution of the following code what is c equal to? int a, b, pc Question 3 What is the value of a main ather the following code executes? veld switchont a int by int a 3, it What is the value of a after execution of the following code?

Solution

Question-1 Answer is

contains an memory location(address of the pointer)

Question-2 Answer is

   int a,b,*p,c;
   a=5,b=3,p=&b; // p holds address of b
   c=b+*p;// here *p contains values in that address so 7+7

c value is 14

 Question 1 Fain the blank The memory contents of a pointer contains an Question 2 After execution of the following code what is c equal to? int a, b, pc Questi

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site