logo

Crowdly

Trace the output of the following program segment:    int *ptr1, *ptr2;    i...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Trace the output of the following program segment:

   int *ptr1, *ptr2;

   int x=12, y=3;

        ptr1=&x; ptr2=&y;

        *ptr1 = (*ptr1)* (*ptr2);    

         y+=2;

        printf("%d %d",*ptr2,*ptr1);

More questions like this

Want instant access to all verified answers on lair.education?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!