Question: Find the correct answer for the output line. #include int main() { int a int* pa; int b; int* pb; intc int* pc int d;

 Find the correct answer for the output line. #include int main()
{ int a int* pa; int b; int* pb; intc int* pc

Find the correct answer for the output line. #include int main() { int a int* pa; int b; int* pb; intc int* pc int d; int* pd; pa = &d; pb = &a; pc = &b; pd = &c; *pa = 21; *pb = 4; *pc = 16; *pc = 6; pb = pc pc = pa; pb = pc pd = pb; printf("%d ", *pb); return 0; } Find the correct answer for the output line. #include int main() { int a int* pa; int b; int* pb; intc int* pc int d; int* pd; pa = &d; pb = &a; pc = &b; pd = &c; *pa = 21; *pb = 4; *pc = 16; *pc = 6; pb = pc pc = pa; pb = pc pd = pb; printf("%d ", *pb); return 0; }

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!