Let us go over the following piece of code and figure out the outpu.
int main()
{
int var = 876;
int *ptr2;
int **ptr1;
ptr2 = &var;
ptr1 = &ptr2;
printf("Value of var = %d\n", var );
printf("Value of var using single pointer = %d\n", *ptr2 );
printf("Value of var using double pointer = %d\n", **ptr1);
return 0;
}
Output of the given code is Value of var = 876 Value of var using single pointer = 876 Value of var using double pointer = 876
Let us go over the following piece of code and figure out the outpu. int main()...